Status codes

Commonly Used Status Codes

200 – OK

The request was successful, and the response contains the expected data (if applicable).

204 – NO CONTENT

The request was successful, but there is no response body. Typically returned after a successful delete operation.

304 – NOT MODIFIED

Indicates that the resource has not changed since the last request. Cached data can be used.

400 – BAD REQUEST

The request was invalid or cannot be processed. The error details are provided in the response payload (e.g., malformed JSON).

401 – UNATHORIZED

Authentication is required, or the provided credentials are invalid.

403 – FORBIDDEN

The server understood the request but refuses to authorize it. Access is not allowed.

404 – NOT FOUND

The requested resource could not be found at the specified URI.

500 – INTERNAL SERVER ERROR

An unexpected error occurred on the server. API developers should avoid exposing stack traces in responses—errors should be logged internally instead.