Skip to main content
GET
/
me
View current company profile
curl --request GET \
  --url https://api.errorgolf.com/v1/me \
  --header 'Authorization: Bearer <token>'
{
  "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
  }
}

Authorizations

Authorization
string
header
required

JWT token from /token endpoint

Response

Company profile retrieved successfully

id
string

Company unique identifier

Example:

"507f1f77bcf86cd799439011"

name
string

Company name

Example:

"TechCorp Solutions"

email
string

Company email address

Example:

"hiring@techcorp.com"

live_code
string

Live assessment code (charges $39 per completion)

Example:

"1AB2CD3EF4"

test_code
string

Test code for development and webhook testing

Example:

"T123456789"

personalities
string[]

Configured AI personalities for evaluation

Example:
[
"jaded_dev",
"caffeinated_genius",
"mad_scientist"
]
webhook_url
string

Webhook URL for result notifications

Example:

"https://api.yourcompany.com/webhooks/error-golf"

per_candidate
integer

Maximum attempts allowed per candidate

Example:

2

paid_at
string<date-time> | null

When setup fee was paid

Example:

"2025-07-03T01:01:50.474Z"

discount_code
string

Discount code used during signup

Example:

"EARLY50"

referral_code
string

Referral code used during signup

Example:

"DEV001"

paused_at
string<date-time>

When account was paused (only present if paused)

Example:

"2025-07-04T01:46:27.018Z"

created_at
string<date-time>

Account creation timestamp

Example:

"2025-07-03T01:01:50.474Z"

updated_at
string<date-time>

Last account update timestamp

Example:

"2025-07-04T01:46:27.018Z"

stats
object

Aggregated usage statistics

I