TTC | W-SYNC uses HTTP response codes to indicate the success or failure of an API request.Codes in the 2xx range indicate success.
Codes in the 4xx and 5xx range indicates an error.
In addition to the HTTP Code returned when an error occurs, we also return an error code enum along with a short description to help you figure out what went wrong and to build your app accordingly.| Status Code | Error Code | Description |
|---|
| 2xx | - | Everything worked as expected. No errors here. |
| 400 Bad Request | bad_request | Several types of invalid requests return bad_request. See the message attribute for more information. |
| 401 Unauthorized | authentication_failure | Missing valid authentication credentials (e.g. no Authorization header). |
| 403 Forbidden | not_authorized | An attempt was made to perform an unauthorized action. |
| 404 Not Found | not_found | The requested resource doesn’t exist. |
| 5xx | - | Something went wrong on our end. (These are rare.) |
Modified at 2026-05-19 04:54:23