> For the complete documentation index, see [llms.txt](https://help.clickatell.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.clickatell.com/developers-api-reference/developers-archive/sms-rest-api-overview/response-status-codes.md).

# Response status codes

The REST API may respond with any of the following HTTP status codes:​

<table data-header-hidden="false" data-header-sticky><thead><tr><th>Status Code</th><th></th><th>Detail</th></tr></thead><tbody><tr><td>200</td><td>OK</td><td>The request was successfully completed.</td></tr><tr><td>202</td><td>Accepted</td><td>The message(s) will be processed.</td></tr><tr><td>207</td><td>Multi-status</td><td>More than one message was submitted to the API, however, not all messages have the same status.</td></tr><tr><td>400</td><td>Bad request</td><td>Validation failure (such as missing/invalid parameters or headers).</td></tr><tr><td>401</td><td>Unauthorized</td><td>Authentication failure. This can also be caused by IP lockdown settings.</td></tr><tr><td>402</td><td>Payment required</td><td>You do not have enough credits to send messages.</td></tr><tr><td>404</td><td>Not found</td><td>The action was performed on a resource that does not exist.</td></tr><tr><td>405</td><td>Method not allowed</td><td>HTTP method is not supported on the resource.</td></tr><tr><td>410</td><td>Gone</td><td>The mobile number is blocked, delisted or cannot be routed.</td></tr><tr><td>429</td><td>Too many requests</td><td>Generic rate-limiting error.</td></tr><tr><td>503</td><td>Service unavailable</td><td>A temporary error has occurred on our platform – please retry.</td></tr></tbody></table>

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.clickatell.com/developers-api-reference/developers-archive/sms-rest-api-overview/response-status-codes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
