HTTP Status Codes

CodeStatusExplanation
200OKResponse is correct. The body of the response will include the data requested.
400Bad RequestThere was an error with the request. The body of the response will have more info
401UnauthorizedToken is invalid. If your API key is wrong a 401 will also be served, so check the response body, it might be that the API_KEY is invalid.
422Unprocessable EntityThere was an error with the request. The body of the response will have more info. Some possible reasons:
- Missing params
- Invalid params
- The format of data is wrong
429Too Many RequestsThis status indicates that the user has sent too many requests in a given amount of time
503Service UnavailableMany reasons, body will include details
- An internal error on Authy.
- Your application is accessing an API call you don't have access too.
- API usage limit. If you reach API usage limits a 503 will be returned, please wait until you can do the call again.