curl --request PATCH \
--url https://api.errorgolf.com/v1/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"live_code": "1AB2CD3EF4",
"email": "newemail@techcorp.com",
"password": "<string>",
"password_confirmation": "<string>",
"webhook_url": "https://api.yourcompany.com/webhooks/error-golf",
"webhook_secret": "abc123def456ghi789",
"per_candidate": 2,
"personality_first": "jaded_dev",
"personality_second": "caffeinated_genius",
"personality_third": "mad_scientist"
}
'import requests
url = "https://api.errorgolf.com/v1/settings"
payload = {
"live_code": "1AB2CD3EF4",
"email": "newemail@techcorp.com",
"password": "<string>",
"password_confirmation": "<string>",
"webhook_url": "https://api.yourcompany.com/webhooks/error-golf",
"webhook_secret": "abc123def456ghi789",
"per_candidate": 2,
"personality_first": "jaded_dev",
"personality_second": "caffeinated_genius",
"personality_third": "mad_scientist"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
live_code: '1AB2CD3EF4',
email: 'newemail@techcorp.com',
password: '<string>',
password_confirmation: '<string>',
webhook_url: 'https://api.yourcompany.com/webhooks/error-golf',
webhook_secret: 'abc123def456ghi789',
per_candidate: 2,
personality_first: 'jaded_dev',
personality_second: 'caffeinated_genius',
personality_third: 'mad_scientist'
})
};
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 => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'live_code' => '1AB2CD3EF4',
'email' => 'newemail@techcorp.com',
'password' => '<string>',
'password_confirmation' => '<string>',
'webhook_url' => 'https://api.yourcompany.com/webhooks/error-golf',
'webhook_secret' => 'abc123def456ghi789',
'per_candidate' => 2,
'personality_first' => 'jaded_dev',
'personality_second' => 'caffeinated_genius',
'personality_third' => 'mad_scientist'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.errorgolf.com/v1/settings"
payload := strings.NewReader("{\n \"live_code\": \"1AB2CD3EF4\",\n \"email\": \"newemail@techcorp.com\",\n \"password\": \"<string>\",\n \"password_confirmation\": \"<string>\",\n \"webhook_url\": \"https://api.yourcompany.com/webhooks/error-golf\",\n \"webhook_secret\": \"abc123def456ghi789\",\n \"per_candidate\": 2,\n \"personality_first\": \"jaded_dev\",\n \"personality_second\": \"caffeinated_genius\",\n \"personality_third\": \"mad_scientist\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.errorgolf.com/v1/settings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"live_code\": \"1AB2CD3EF4\",\n \"email\": \"newemail@techcorp.com\",\n \"password\": \"<string>\",\n \"password_confirmation\": \"<string>\",\n \"webhook_url\": \"https://api.yourcompany.com/webhooks/error-golf\",\n \"webhook_secret\": \"abc123def456ghi789\",\n \"per_candidate\": 2,\n \"personality_first\": \"jaded_dev\",\n \"personality_second\": \"caffeinated_genius\",\n \"personality_third\": \"mad_scientist\"\n}")
.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::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"live_code\": \"1AB2CD3EF4\",\n \"email\": \"newemail@techcorp.com\",\n \"password\": \"<string>\",\n \"password_confirmation\": \"<string>\",\n \"webhook_url\": \"https://api.yourcompany.com/webhooks/error-golf\",\n \"webhook_secret\": \"abc123def456ghi789\",\n \"per_candidate\": 2,\n \"personality_first\": \"jaded_dev\",\n \"personality_second\": \"caffeinated_genius\",\n \"personality_third\": \"mad_scientist\"\n}"
response = http.request(request)
puts response.read_bodyUpdate Settings
Modify Your Settings
Update company configuration. Only include fields you want to change.
Security notifications: Sensitive changes trigger email alerts:
- Email changes: notification sent to the old email address
- Password changes: confirmation to current email
- Live code changes: notification with old and new codes
- Webhook changes: notification about new configuration
Personality options: Choose from 20+ personalities for scoring variety:
jaded_dev- Cynical veteran who’s seen every horrorcaffeinated_genius- 3am energy, connects everything to quantum mechanicsacademic_rebel- PhD dropout with street smartsmad_scientist- Chaos enthusiast who believes systems need more entropy- Plus many more for maximum evaluation diversity
Validation requirements:
- Live codes: unique, 10+ characters, must start with digit
- Emails: unique and properly formatted
- Passwords: 10+ characters with confirmation
- Webhook URLs: valid HTTPS endpoints only
- Candidate limits: 1-4 attempts per email address
curl --request PATCH \
--url https://api.errorgolf.com/v1/settings \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"live_code": "1AB2CD3EF4",
"email": "newemail@techcorp.com",
"password": "<string>",
"password_confirmation": "<string>",
"webhook_url": "https://api.yourcompany.com/webhooks/error-golf",
"webhook_secret": "abc123def456ghi789",
"per_candidate": 2,
"personality_first": "jaded_dev",
"personality_second": "caffeinated_genius",
"personality_third": "mad_scientist"
}
'import requests
url = "https://api.errorgolf.com/v1/settings"
payload = {
"live_code": "1AB2CD3EF4",
"email": "newemail@techcorp.com",
"password": "<string>",
"password_confirmation": "<string>",
"webhook_url": "https://api.yourcompany.com/webhooks/error-golf",
"webhook_secret": "abc123def456ghi789",
"per_candidate": 2,
"personality_first": "jaded_dev",
"personality_second": "caffeinated_genius",
"personality_third": "mad_scientist"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
live_code: '1AB2CD3EF4',
email: 'newemail@techcorp.com',
password: '<string>',
password_confirmation: '<string>',
webhook_url: 'https://api.yourcompany.com/webhooks/error-golf',
webhook_secret: 'abc123def456ghi789',
per_candidate: 2,
personality_first: 'jaded_dev',
personality_second: 'caffeinated_genius',
personality_third: 'mad_scientist'
})
};
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 => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'live_code' => '1AB2CD3EF4',
'email' => 'newemail@techcorp.com',
'password' => '<string>',
'password_confirmation' => '<string>',
'webhook_url' => 'https://api.yourcompany.com/webhooks/error-golf',
'webhook_secret' => 'abc123def456ghi789',
'per_candidate' => 2,
'personality_first' => 'jaded_dev',
'personality_second' => 'caffeinated_genius',
'personality_third' => 'mad_scientist'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.errorgolf.com/v1/settings"
payload := strings.NewReader("{\n \"live_code\": \"1AB2CD3EF4\",\n \"email\": \"newemail@techcorp.com\",\n \"password\": \"<string>\",\n \"password_confirmation\": \"<string>\",\n \"webhook_url\": \"https://api.yourcompany.com/webhooks/error-golf\",\n \"webhook_secret\": \"abc123def456ghi789\",\n \"per_candidate\": 2,\n \"personality_first\": \"jaded_dev\",\n \"personality_second\": \"caffeinated_genius\",\n \"personality_third\": \"mad_scientist\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.errorgolf.com/v1/settings")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"live_code\": \"1AB2CD3EF4\",\n \"email\": \"newemail@techcorp.com\",\n \"password\": \"<string>\",\n \"password_confirmation\": \"<string>\",\n \"webhook_url\": \"https://api.yourcompany.com/webhooks/error-golf\",\n \"webhook_secret\": \"abc123def456ghi789\",\n \"per_candidate\": 2,\n \"personality_first\": \"jaded_dev\",\n \"personality_second\": \"caffeinated_genius\",\n \"personality_third\": \"mad_scientist\"\n}")
.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::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"live_code\": \"1AB2CD3EF4\",\n \"email\": \"newemail@techcorp.com\",\n \"password\": \"<string>\",\n \"password_confirmation\": \"<string>\",\n \"webhook_url\": \"https://api.yourcompany.com/webhooks/error-golf\",\n \"webhook_secret\": \"abc123def456ghi789\",\n \"per_candidate\": 2,\n \"personality_first\": \"jaded_dev\",\n \"personality_second\": \"caffeinated_genius\",\n \"personality_third\": \"mad_scientist\"\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
JWT token from /token endpoint
Body
New live code (must start with digit and be unique)
10^[0-9][A-Z0-9]+$"1AB2CD3EF4"
New email address (must be unique)
"newemail@techcorp.com"
New password (requires confirmation)
10Password confirmation (required if password provided)
Webhook URL for result notifications (empty string to disable)
"https://api.yourcompany.com/webhooks/error-golf"
Secret for webhook signature verification
10^[A-Za-z0-9]+$"abc123def456ghi789"
Maximum attempts per candidate email
1 <= x <= 42
First evaluator personality
"jaded_dev"
Second evaluator personality
"caffeinated_genius"
Third evaluator personality
"mad_scientist"
Response
Settings updated successfully

