Status codes

Modzy uses standard HTTP response codes to display the status of each request.

Status code

Description

200 OK

The API processed the request successfully.

201 Created

The API created a new resource successfully.

202 Accepted

The API accepted the request for an asynchronous process.

204 No Content

The API accepted the request but doesn’t return content.

400 Bad Request

The API doesn’t understand the request. Something is missing.

401 Unauthorized

The API key is missing or misspelled.

403 Forbidden

The API key doesn’t have the roles required to perform the request.

404 Not Found

The API understands the request but a parameter is missing or misspelled.

500 Internal Server Error

Something went wrong on the server’s side.