# HTTP status codes

Our API returns standard HTTP response codes.

<table><thead><tr><th width="121.33333333333331">Code</th><th width="249">Name</th><th>Explanation</th></tr></thead><tbody><tr><td><code>200</code></td><td><code>OK</code></td><td>The request was accepted.</td></tr><tr><td><code>201</code></td><td><code>Created</code></td><td>Resource was created.</td></tr><tr><td><code>202</code></td><td><code>Accepted</code></td><td>There was an error when processing your request. Please adjust your request based on the endpoint requirements and try again.</td></tr><tr><td><code>204</code></td><td><code>No Content</code></td><td>The request was accepted and there is nothing to return.</td></tr><tr><td><code>400</code></td><td><code>Bad Request</code></td><td>There was an error when processing your request. Please adjust your request based on the endpoint requirements and try again.</td></tr><tr><td><code>401</code></td><td><code>Unauthorized</code></td><td>The provided API token is invalid.</td></tr><tr><td><code>403</code></td><td><code>Forbidden</code></td><td>The action is denied for that account or a particular API token.</td></tr><tr><td><code>404</code></td><td><code>Not Found</code></td><td>The requested resource does not exist on the system.</td></tr><tr><td><code>405</code></td><td><code>Method Not Allowed</code></td><td>HTTP method is not supported by the requested endpoint.</td></tr><tr><td><code>408</code></td><td><code>Request Timeout</code></td><td>There is an error on our system. Please <a href="mailto:support@ocoya.com">contact support</a>.</td></tr><tr><td><code>422</code></td><td><code>Unprocessable Entity</code></td><td>There was a validation error found when processing the request. Please adjust it based on the endpoint requirements and try again.</td></tr><tr><td><code>429</code></td><td><code>Too Many Requests</code></td><td>There were too many requests made to the API.</td></tr><tr><td><code>500</code></td><td><code>Internal Server Error</code></td><td>There is an error on our system. Please <a href="mailto:support@ocoya.com">contact support</a>.</td></tr><tr><td><code>502</code></td><td><code>Bad Gateway</code></td><td>There is an error on our system. Please <a href="mailto:support@ocoya.com">contact support</a>.</td></tr><tr><td><code>503</code></td><td><code>Service Unavailable</code></td><td>There is an error on our system. Please <a href="mailto:support@ocoya.com">contact support</a>.</td></tr><tr><td><code>504</code></td><td><code>Gateway Timeout</code></td><td>There is an error on our system. Please <a href="mailto:support@ocoya.com">contact support</a>.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ocoya.com/extra/http-status-codes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
