> ## Documentation Index
> Fetch the complete documentation index at: https://help.cloudtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Send a message

> Sends one SMS, MMS or WhatsApp message from one of your numbers. The answer is `202` with the message, usually in `status: queued`: accepted for sending, not yet delivered. Follow it with [Get a message](/api-reference/messages/get-a-message) or the [`message.delivery_updated`](/guides/webhooks/events/messages#message-delivery_updated) webhook. A send also fires [`message.sent`](/guides/webhooks/events/messages#message-sent).

Send a `body`, up to 10 `mediaIds` from [Upload media](/api-reference/messages/upload-media), or both. On SMS, a message with media goes out as `mms`. On WhatsApp, outside the 24 hour window after the customer's last message, send an approved `whatsappTemplate` instead.

Leave out `from` to send from the number of your latest conversation with `to` on this channel. With no earlier conversation you get `422 MESSAGES.SENDER_REQUIRED`, and `error.details.candidates` lists the numbers you can use.

Send an `Idempotency-Key` to retry safely: the same key and body answers `202` with the message as it is now and `Idempotent-Replayed: true`, and sends nothing. Keys are kept for 7 days; after that, the same key sends again. If CloudTalk cannot tell whether the message went out, it answers `202` with `id: null` instead of an error. See [Safe retries](/guides/messages/manage-with-api#safe-retries).

Counts toward your company's Messaging rate limit, one count shared by the Messages, Conversations, WhatsApp templates and media operations: 60 requests per minute by default. See [Rate limiting](/guides/rate-limiting). Each Bulk send messages call counts once too.



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://help.cloudtalk.io/llms.txt).


## Related topics

- [Using CloudTalk Go (Mobile App)](https://help.cloudtalk.io/en/articles/13741994-using-cloudtalk-go-mobile-app.md)
- [Bulk send messages](https://help.cloudtalk.io/api-reference/messages/bulk-send-messages.md)
- [Send sms](https://help.cloudtalk.io/api-reference/sms/send-sms.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.