Skip to main content

Partner API: Reference (Errors, Rate Limits, Regions)

Error envelope and codes, rate limits, and region codes.

Errors

Errors use a consistent envelope with a stable machine-readable type:

{
"errors": [
{
"type": "org_not_owned_by_partner",
"code": 403,
"message": "Organization not found or not owned by this partner"
}
]
}

HTTP

Type

Meaning

400

validation_error

Request body or query failed validation (details in message)

400

org_id_mismatch

X-Org-Id header, path and/or token disagree

401

invalid_partner_key

Missing, malformed, unknown or revoked partner key

401

invalid_access_token

Missing, malformed, unknown or expired access token

403

ip_not_allowed

Request IP is not in your allowlist

403

org_not_owned_by_partner

Organization does not belong to your account

404

not_found

Resource does not exist in this organization

409

conflict

e.g. duplicate externalId or employeeId

429

rate_limited

Too many requests — see Retry-After

500

server_error

Something went wrong on our side

Rate limits

Limits are applied per credential in a rolling 1-second window:

  • Partner API key: 20 requests/second

  • Organization access token: 10 requests/second per token

Exceeding a limit returns 429 rate_limited with a Retry-After header (in seconds). Higher limits are available on request.


Region codes

Bare codes, not prefixed with a country. Examples:

Code

Region

FEDERAL

US federal

CA, NY, TX, IL, WA

US states

CA_SF, NY_NYC, IL_CHI, WA_KNG

US cities/counties with their own requirements

AB, BC, ON, QC

Canadian provinces

ENG, SCT, WLS, NIR

UK nations

GET /regions returns the full list with names.


Partner API documentation:

Did this answer your question?