Skip to main content

HTTP response codes

The MyTruv API uses conventional HTTP response codes to indicate the success or failure of a request. Codes in the 2xx range indicate success, codes in the 4xx range indicate an error with the information provided, and codes in the 5xx range indicate a server error.

Error response format

When an error occurs, the API returns a JSON object with a detail field containing a human-readable error message.

Standard error

Validation error


Retry guidance


Next steps

API Overview

Authentication and available endpoints

Pagination

How to paginate through large result sets