Response codes
The following response codes are used by the Trustap API when reporting success or failure of API requests.
Code | Description |
---|---|
200 , 201 | OK. Everything worked as expected. |
400 | Bad Request. The request was unacceptable, often due to missing a required parameter. |
401 | Unauthorized. No valid API key provided. Check your API Key or follow our setup guide if you do not yet have one. |
403 | Forbidden. The API key does not have permissions to perform the request. If you are marking a call on behalf of a user, ensure your header includes Trustap-User with the ID of your user. |
404 | Not Found. The requested resource does not exist. |
409 | Conflict. Contact Trustap support for assistance. |
500 | Server Errors. Something went wrong on Trustap’s end. |