Response Status Codes
The Sayari API uses conventional HTTP response codes to indicate the success or failure of an API request.
Success
All successful requests will be indicated with 2xx
status codes.
Errors
4xx
range codes indicate errors based on provided information. 5xx
range codes indicate server-side errors.
Error codes in the 4xx
range often include an error code for clarity.
Error format:
Validation messages on request parameters will also be displayed in the messages field to give more information on the failed request.