JSON
REST API
Errors
Learn how the Smile REST API uses HTTP response codes and error objects to report failed requests.
JSON
Smile.io uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, while codes in the 4xx or 5xx range indicate a problem and will be accompanied by a JSON error object in the response body providing more information.