# SMS Client Callbacks

## GET /client-callback/sms-status

> Example of a customer's sms status end-point

```json
{"openapi":"3.0.1","info":{"title":"SMS API","version":"1.0.0"},"tags":[{"name":"SMS Client Callbacks"}],"servers":[{"url":"http://customer-server/","description":"Customer server","variables":{}}],"paths":{"/client-callback/sms-status":{"get":{"tags":["SMS Client Callbacks"],"summary":"Example of a customer's sms status end-point","operationId":"sendGetSmsStatusCallback","parameters":[{"name":"integrationName","in":"query","schema":{"type":"string"}},{"name":"messageId","in":"query","schema":{"type":"string"}},{"name":"requestId","in":"query","schema":{"type":"string"}},{"name":"clientMessageId","in":"query","schema":{"type":"string"}},{"name":"to","in":"query","schema":{"type":"string"}},{"name":"from","in":"query","schema":{"type":"string"}},{"name":"statusCode","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"status","in":"query","schema":{"type":"string"}},{"name":"statusDescription","in":"query","schema":{"type":"string"}},{"name":"timestamp","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}}}}
```

## POST /client-callback/sms-status

> Example of a customer's sms status end-point

```json
{"openapi":"3.0.1","info":{"title":"SMS API","version":"1.0.0"},"tags":[{"name":"SMS Client Callbacks"}],"servers":[{"url":"http://customer-server/","description":"Customer server","variables":{}}],"paths":{"/client-callback/sms-status":{"post":{"tags":["SMS Client Callbacks"],"summary":"Example of a customer's sms status end-point","operationId":"sendPostSmsStatusCallback","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sms status callback"}}}},"responses":{"200":{"description":"Success"}}}}},"components":{"schemas":{"Sms status callback":{"type":"object","properties":{"integrationName":{"type":"string"},"messageId":{"type":"string"},"requestId":{"type":"string"},"clientMessageId":{"type":"string"},"to":{"type":"string"},"from":{"type":"string"},"statusCode":{"type":"integer","format":"int32"},"status":{"type":"string"},"statusDescription":{"type":"string"},"timestamp":{"type":"string"}}}}}}
```

## GET /client-callback/sms-reply

> Example of a customer's sms status end-point

```json
{"openapi":"3.0.1","info":{"title":"SMS API","version":"1.0.0"},"tags":[{"name":"SMS Client Callbacks"}],"servers":[{"url":"http://customer-server/","description":"Customer server","variables":{}}],"paths":{"/client-callback/sms-reply":{"get":{"tags":["SMS Client Callbacks"],"summary":"Example of a customer's sms status end-point","operationId":"sendGetSmsReplyCallback","parameters":[{"name":"integrationName","in":"query","description":"Integration name","schema":{"type":"string"}},{"name":"replyMessageId","in":"query","schema":{"type":"string"}},{"name":"messageId","in":"query","schema":{"type":"string"}},{"name":"fromNumber","in":"query","schema":{"type":"string"}},{"name":"toNumber","in":"query","schema":{"type":"string"}},{"name":"timestamp","in":"query","schema":{"type":"integer","format":"int64"}},{"name":"text","in":"query","schema":{"type":"string"}},{"name":"charset","in":"query","schema":{"type":"string"}},{"name":"udh","in":"query","schema":{"type":"string"}},{"name":"network","in":"query","schema":{"type":"integer","format":"int32"}},{"name":"keyword","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Success"}}}}}}
```

## POST /client-callback/sms-reply

> Example of a customer's sms reply end-point

```json
{"openapi":"3.0.1","info":{"title":"SMS API","version":"1.0.0"},"tags":[{"name":"SMS Client Callbacks"}],"servers":[{"url":"http://customer-server/","description":"Customer server","variables":{}}],"paths":{"/client-callback/sms-reply":{"post":{"tags":["SMS Client Callbacks"],"summary":"Example of a customer's sms reply end-point","operationId":"sendPostSmsReplyCallback","parameters":[],"requestBody":{"description":"Reply request to client","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendReplyMessageRequest"}}}},"responses":{"200":{"description":"Success"}}}}},"components":{"schemas":{"SendReplyMessageRequest":{"type":"object","properties":{"integrationName":{"type":"string"},"replyMessageId":{"type":"string"},"messageId":{"type":"string"},"fromNumber":{"type":"string"},"toNumber":{"type":"string"},"timestamp":{"type":"integer","format":"int64"},"text":{"type":"string"},"charset":{"type":"string"},"udh":{"type":"string"},"network":{"type":"integer","format":"int32"},"keyword":{"type":"string"}}}}}}
```


---

# 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://help.clickatell.com/developers-api-reference/sms-client-callbacks.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.
