curl --request GET \
--url https://api.errorgolf.com/v1/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.errorgolf.com/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.errorgolf.com/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.errorgolf.com/v1/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.errorgolf.com/v1/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.errorgolf.com/v1/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.errorgolf.com/v1/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "507f1f77bcf86cd799439011",
"name": "TechCorp Solutions",
"email": "hiring@techcorp.com",
"live_code": "1AB2CD3EF4",
"test_code": "T123456789",
"personalities": [
"jaded_dev",
"caffeinated_genius",
"mad_scientist"
],
"webhook_url": "https://api.yourcompany.com/webhooks/error-golf",
"per_candidate": 2,
"paid_at": "2025-07-03T01:01:50.474Z",
"discount_code": "EARLY50",
"referral_code": "DEV001",
"paused_at": "2025-07-04T01:46:27.018Z",
"created_at": "2025-07-03T01:01:50.474Z",
"updated_at": "2025-07-04T01:46:27.018Z",
"stats": {
"submissions": 47,
"charges": 42,
"webhooks": 41
}
}{
"error": "token_expired",
"message": "Your authentication token has expired. Please login again."
}{
"error": "company_not_found",
"message": "Company not found"
}{
"error": "internal_server_error",
"message": "Something went wrong on our end. We're looking into it."
}Get Account Data
Company Profile and Statistics
Get complete company details including aggregated usage statistics. Perfect for dashboard displays and account overview.
Statistics included:
- Total submissions across all candidates
- Total charges processed for assessments
- Total webhook deliveries attempted
Account status indicators:
- Payment status and setup date
- Account pause status (if applicable)
- Current configuration settings
curl --request GET \
--url https://api.errorgolf.com/v1/me \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.errorgolf.com/v1/me"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.errorgolf.com/v1/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.errorgolf.com/v1/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.errorgolf.com/v1/me"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.errorgolf.com/v1/me")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.errorgolf.com/v1/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "507f1f77bcf86cd799439011",
"name": "TechCorp Solutions",
"email": "hiring@techcorp.com",
"live_code": "1AB2CD3EF4",
"test_code": "T123456789",
"personalities": [
"jaded_dev",
"caffeinated_genius",
"mad_scientist"
],
"webhook_url": "https://api.yourcompany.com/webhooks/error-golf",
"per_candidate": 2,
"paid_at": "2025-07-03T01:01:50.474Z",
"discount_code": "EARLY50",
"referral_code": "DEV001",
"paused_at": "2025-07-04T01:46:27.018Z",
"created_at": "2025-07-03T01:01:50.474Z",
"updated_at": "2025-07-04T01:46:27.018Z",
"stats": {
"submissions": 47,
"charges": 42,
"webhooks": 41
}
}{
"error": "token_expired",
"message": "Your authentication token has expired. Please login again."
}{
"error": "company_not_found",
"message": "Company not found"
}{
"error": "internal_server_error",
"message": "Something went wrong on our end. We're looking into it."
}Authorizations
JWT token from /token endpoint
Response
Company profile retrieved successfully
Company unique identifier
"507f1f77bcf86cd799439011"
Company name
"TechCorp Solutions"
Company email address
"hiring@techcorp.com"
Live assessment code (charges $39 per completion)
"1AB2CD3EF4"
Test code for development and webhook testing
"T123456789"
Configured AI personalities for evaluation
[
"jaded_dev",
"caffeinated_genius",
"mad_scientist"
]
Webhook URL for result notifications
"https://api.yourcompany.com/webhooks/error-golf"
Maximum attempts allowed per candidate
2
When setup fee was paid
"2025-07-03T01:01:50.474Z"
Discount code used during signup
"EARLY50"
Referral code used during signup
"DEV001"
When account was paused (only present if paused)
"2025-07-04T01:46:27.018Z"
Account creation timestamp
"2025-07-03T01:01:50.474Z"
Last account update timestamp
"2025-07-04T01:46:27.018Z"
Aggregated usage statistics
Show child attributes
Show child attributes

