HTTP response codes
The MyTruv API uses conventional HTTP response codes to indicate the success or failure of a request. Codes in the2xx 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 adetail field containing a human-readable error message.