AiPrise uses standard HTTP response codes to indicate the success or failure of an API request. Most of our failure error codes will contain a message on why the request failed.

Status CodeDescription
200OK - Worked as expected
208Already reported - Same verification session id used more than once.
400Bad Request.
401Unauthorized.
403Forbidden.
413Request size limit.
429Too Many Requests - Requests are being rate limited. Please contact us.
500Internal Server Error - Our servers crashed processing the request. Please contact us.

Every status code except 200 is considered an error and you will get a message in the response JSON explaining the error.

Sample non-200 response:

{
  "message": "<ERROR_MESSAGE>" 
}