Skip to main content
The Tonder API uses standard HTTP response codes to indicate the success or failure of an API request. Your integration should be prepared to handle these codes gracefully.

Success Codes

Success codes indicate that your request was received and processed successfully.

Client Error Codes

Client error codes indicate a problem with your request, such as invalid data or authentication failure. You should correct the issue in your request before retrying.

Server Error Codes

Server error codes indicate a problem with Tonder’s servers. These errors are typically temporary.

Error Response Format

When the API returns a client or server error (4xx or 5xx), the response body will contain a JSON object with a consistent format to help you debug the issue.

Error Object Fields

The error object contains the following fields:

Next Steps

  • Test error scenarios using our testing data to make sure your integration handles unexpected responses.
  • Learn about authentication and security to avoid common authorisation errors.
  • Check the environment guide to ensure you’re using the correct URLs and credentials at each stage of development.