HTTP Status Codes
Code | Status | Explanation |
---|---|---|
200 | OK | Response is correct. The body of the response will include the data requested. |
400 | Bad Request | There was an error with the request. The body of the response will have more info |
401 | Unauthorized | Token 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. |
422 | Unprocessable Entity | There 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 |
429 | Too Many Requests | This status indicates that the user has sent too many requests in a given amount of time |
503 | Service Unavailable | Many 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. |