> For the complete documentation index, see [llms.txt](https://docs.connectly.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.connectly.ai/message-api.md).

# Message API

- [Message Service API](https://docs.connectly.ai/message-api/message-service-api.md)
- [MessageService](https://docs.connectly.ai/message-api/message-service-api/messageservice.md)
- [Send template message](https://docs.connectly.ai/message-api/message-service-api/messageservice/send-template-message.md): API to send a WhatsApp templated message to recipient.
- [Send session message](https://docs.connectly.ai/message-api/message-service-api/messageservice/send-session-message.md): Send a message to recipient on target channel, i.e. WhatsApp, SMS.
- [Error codes](https://docs.connectly.ai/message-api/message-service-api/error-codes.md)
- [Webhook API](https://docs.connectly.ai/message-api/webhook-api.md)
- [WebhookService](https://docs.connectly.ai/message-api/webhook-api/webhookservice.md)
- [Create a webhook registration by event topic](https://docs.connectly.ai/message-api/webhook-api/webhookservice/create-a-webhook-registration-by-event-topic.md)
- [Update an existing webhook registration by event topic](https://docs.connectly.ai/message-api/webhook-api/webhookservice/update-an-existing-webhook-registration-by-event-topic.md)
- [Get webhook registrations for business](https://docs.connectly.ai/message-api/webhook-api/webhookservice/get-webhook-registrations-for-business.md)
- [Delete a webhook registration for business](https://docs.connectly.ai/message-api/webhook-api/webhookservice/delete-a-webhook-registration-for-business.md)
- [Webhook Payload](https://docs.connectly.ai/message-api/webhook-api/webhook-payload.md)
- [Delivery Status Error Codes](https://docs.connectly.ai/message-api/webhook-api/webhook-payload/delivery-status-error-codes.md)
- [Payload Media Types](https://docs.connectly.ai/message-api/webhook-api/webhook-payload/payload-media-types.md)
- [Business-scoped user IDs (BSUID)](https://docs.connectly.ai/message-api/business-scoped-user-ids-bsuid.md): How Connectly surfaces WhatsApp Business-Scoped User IDs (BSUIDs) for customers who adopt a WhatsApp username, and how to enable support.


---

# 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:

```
GET https://docs.connectly.ai/message-api.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.
