View current configuration
curl --request GET \
--url https://api.errorgolf.com/v1/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.errorgolf.com/v1/settings"
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/settings', 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/settings",
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/settings"
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/settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.errorgolf.com/v1/settings")
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{
"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",
"webhook_secret": "abc123def456ghi789",
"per_candidate": 2,
"created_at": "2025-07-03T01:01:50.474Z",
"updated_at": "2025-07-04T01:46:27.018Z"
}{
"error": "token_expired",
"message": "Your authentication token has expired. Please login again."
}{
"error": "internal_server_error",
"message": "Something went wrong on our end. We're looking into it."
}Settings
Retrieve Settings
Current Settings Overview
Check your company’s current configuration and preferences. Passwords are hidden because we’re not completely insane.
GET
/
settings
View current configuration
curl --request GET \
--url https://api.errorgolf.com/v1/settings \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.errorgolf.com/v1/settings"
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/settings', 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/settings",
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/settings"
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/settings")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.errorgolf.com/v1/settings")
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{
"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",
"webhook_secret": "abc123def456ghi789",
"per_candidate": 2,
"created_at": "2025-07-03T01:01:50.474Z",
"updated_at": "2025-07-04T01:46:27.018Z"
}{
"error": "token_expired",
"message": "Your authentication token has expired. Please login again."
}{
"error": "internal_server_error",
"message": "Something went wrong on our end. We're looking into it."
}Authorizations
JWT token from /token endpoint
Response
Current configuration retrieved
Company configuration and preferences
Company name
Example:
"TechCorp Solutions"
Company email address
Example:
"hiring@techcorp.com"
Live evaluation code (charges $39 per completion)
Example:
"1AB2CD3EF4"
Test code for webhook testing and development
Example:
"T123456789"
Personalities for evaluation (first, second, third)
Required array length:
3 elementsExample:
[
"jaded_dev",
"caffeinated_genius",
"mad_scientist"
]
Webhook URL for result notifications
Example:
"https://api.yourcompany.com/webhooks/error-golf"
Secret for webhook signature verification
Example:
"abc123def456ghi789"
Maximum attempts allowed per candidate
Required range:
1 <= x <= 4Example:
2
Example:
"2025-07-03T01:01:50.474Z"
Example:
"2025-07-04T01:46:27.018Z"

