# Response Codes

Please be sure to include both the error code and/or error response when submitting support tickets related to the SMS API.

The SMS API utilizes the following HTTP status codes:

| Error Code | Meaning                                                                       |
| ---------- | ----------------------------------------------------------------------------- |
| 200        | `OK` - Your request was executed, as expected.                                |
| 403        | `Not Authorized` - Your API Key is not authorized to use the given DID.       |
| 404        | `Not Found` - The resource you were trying to access was not found.           |
| 422        | `Unauthorized` -- Your API key is wrong.                                      |
| 405        | `Method Not Allowed` -- You tried to access a kitten with an invalid method.  |
| 406        | `Not Acceptable` - You requested a format other than `application/json`.      |
| 418        | `I'm a teapot` - If you see this, you are not where you are supposed to be.   |
| 429        | `Too Many Requests` - You have exceeded the API rate limit.                   |
| 500        | `Internal Server Error` -- We had a problem with our server. Try again later. |


---

# 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://guides.accentvoice.com/sms-api/response-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.
