Skip to content

API reference

Errors

Every error has one shape: error_key, message, status and, for invalid input, per-field fields (see the Errors guide). These are the ones every endpoint can return; each endpoint lists its own.

StatusCodesMeaning
400captcha_failedcaptcha_requiredinvalid_inputBad request: the input is invalid.
401impersonation_endedunauthorizedUnauthorized: the API key is missing or invalid.
402api_request_limit_exceededfeature_not_availablePayment required: the plan's limit is reached or the feature isn't on it.
403email_not_verifiedforbiddenimpersonation_forbiddenorg_suspendedForbidden: the key can't access this resource.
408request_timeoutRequest timeout.
413content_too_largeContent too large.
415unsupported_media_typeUnsupported media type.
422unprocessable_entityUnprocessable: the input is valid but can't be applied.
429too_many_requestsToo many requests: slow down and retry later.
500captcha_unavailableinternal_server_errorInternal server error.
502bad_gatewayBad gateway.
503service_unavailableService unavailable.
504gateway_timeoutGateway timeout.