Retrieve the authorization code for a domain name.
Response codes tell you whether the request worked or not.
200 means success. Codes in the 400s mean something was wrong with the request (e.g., missing or invalid access key). 429 means you are being rate limited. 500 means the server had a problem.
The status is determined by the API when it tries to process your request and is returned with every response.
{
"error": "RATE_LIMIT",
"message": "Too many requests. Please wait and try again.",
"timestamp": "2024-01-15T10:30:00Z",
"request_id": "req_abc123def456"
}
{
"error": "INVALID_KEY",
"message": "The provided access key is not valid or has expired.",
"timestamp": "2024-01-15T10:30:00Z",
"request_id": "req_abc123def456"
}
{
"error": "REGISTRAR_ERROR",
"message": "Unable to connect to registrar service.",
"timestamp": "2024-01-15T10:30:00Z",
"request_id": "req_abc123def456"
}