Status codes
Each API request that is sent to the server returns a response that includes an HTTP status code and any requested information.
The following are some of the common HTTP status codes:
- 200 OK
- The endpoint operation was successful.
- 201 Created
- The endpoint operation was successful and resulted in the creation of a resource.
- 202 Accepted
- The request is accepted for processing, but the processing is not yet completed. Asynchronous endpoints return this status code in the response to the original request.
- 204 No content (DELETE)
- The endpoint operation was successful, but no content is returned in the response.
- 303 [interim response status]
- The endpoint operation is in progress. Asynchronous endpoints return this status code in response to a request for status.
- 400 Bad Request (format error in request data)
- 401 Unauthorized Request (Wrong credentials)
- 403 Forbidden
- 404 Not Found
- 500 Internal Server Error
- 503 Service Not Available