Skip to main content
Unyte API calls provides a set of responses that can be used to communicate with the client. The responses are based on the HTTP status codes and are used to indicate the success or failure of an operation. Most calls would return JSON response bodies that include information about the resource, and may include one or more contextual HATEOAS links. Use these links to request more information about and construct an API flow that is relative to a specific request. Each REST API request returns an HTTP status code.

HTTP Status Codes

Successful requests

Unyte returns HTTP status codes in the 2xx range for successful requests. The following table lists the HTTP status codes that are returned for successful requests.

Failed requests

HTTP 4XX status codes

For failed requests, the platform would return HTTP status codes in the 4xx and 5xx range. This could be something was wrong with the request as in 4xx or something on our end wrong with a server or service, 5xx. The following table lists the HTTP status codes that are returned for failed requests. For authentication specific HTTP 4XX status codes, refer to the Authorization errors section.

HTTP 5XX status codes

Authorization errors

The following table lists common authorization-related errors you might encounter. These errors typically correspond to HTTP 401 Unauthorized or 403 Forbidden status codes. Coming soon