Skip to content

Errors

The API uses standard HTTP status codes. Error responses are returned as plain text with a short description.

Example error response:

Key Not Found
CodeNameWhen it occurs
400Bad RequestThe request is malformed or missing required parameters
401UnauthorizedThe x-token header is missing or invalid
402Payment RequiredYour wallet has no credits remaining
403ForbiddenYou don’t have permission to access this endpoint
404Not FoundThe key, webhook, or resource does not exist
405Method Not AllowedThe HTTP method is not supported for this endpoint
406Not AcceptableThe requested response format is not supported
418I’m a Teapot
429Too Many RequestsYou have exceeded the rate limit
CodeNameWhen it occurs
500Internal Server ErrorUnexpected server-side failure — try again later
501Not ImplementedEndpoint exists but is not yet available
503Service UnavailableThe service is temporarily offline — try again later
SituationStatus code
Missing x-token header401
Token doesn’t exist401
No credits left402
GET on a key that was never set404
DELETE on a key that doesn’t exist404
GET webhook when none is configured404
Token generation faster than 1 req/10s429