Errors
All errors return JSON with at minimum a message field.
Status codes
| Status | Meaning |
|---|---|
401 | Missing or invalid API key, or expired access token |
403 | Key lacks the required ability, API disabled, or IP not on allowlist |
404 | Resource not found (or belongs to another company) |
422 | Validation error — check the errors object |
429 | Rate limit exceeded — check Retry-After header |
500 | Internal server error |
Error body
{
"message": "The given data was invalid.",
"errors": {
"email": ["The email field is required."],
"latitude": ["The latitude must be between -90 and 90."]
}
}
Validation errors (422) include an errors object mapping field names to arrays of messages. All other errors include only message.