Response Codes

The following are the response codes that are provided in this documentation:

  • 200 OK: The request was successfully processed by the server, and the response contains the requested data. This status is typically returned for successful GET, PUT, or POST requests.
  • 201 Created: The request was successful, and the server created a new resource.
  • 400 Bad Request: The server could not process the request due to invalid syntax, missing parameters, or other client-side issues. The response may include details about what went wrong.
  • 401 Unauthorized: The request requires authentication, but it either failed (e.g., invalid API key) or was not provided. The client must authenticate to access the resource.
  • 403 Forbidden: The server understood the request but refuses to authorize it. This can happen if the client does not have the necessary permissions to access the resource.
  • 404 Not Found: The requested resource could not be found on the server. This often indicates an invalid URL or a resource that no longer exists.
  • 500 Internal Server Error: The server encountered an error that prevented it from fulfilling the request. This is typically a server-side issue and may require investigation by developers.