Skip to Content
Messages

Queue a WhatsApp message

POST
/messages

The message is stored and sent asynchronously; poll GET /messages/{messageId} or use webhooks for the outcome. Outside the 24-hour customer service window only approved templates are accepted. Use Idempotency-Key to retry safely.

Scope: messages.send. Rate limit: 300 requests per minute per API key.

Authorization

apiKey messages.send
headerAuthorizationBearer <msk_live_…>

An API key created under API keys in the panel: Authorization: Bearer msk_live_…. The key's scopes decide which operations it may call.

Scope: messages.send

Header Parameters

Idempotency-Key?string

Retry-safe POST: a repeated request with the same key replays the first successful response for 24 hours. Rejected requests (4xx/5xx) are not remembered, so a corrected request may reuse the key.

Length8 <= length <= 200

Request Body

application/json
  1. body
interactive?

Meta's interactive object (button, list or cta_url).

location?
media?
phone_number_id?string

Sender; defaults to the default number.

Formatuuid
reaction?
reply_to?string

WhatsApp message ID to quote.

Lengthlength <= 200
template?
text?
to*string

Recipient phone number in international format.

Length7 <= length <= 24
type*string
Value in"text""template""image""video""audio""document""sticker""location""reaction""interactive"

Response Body

Queued

application/json
  1. response
data*
meta*
curl -X POST 'https://app.messora.tech/api/v1/messages' \  -H 'Content-Type: application/json' \  -d '{  "media": {    "caption": "Faturanız",    "link": "https://shop.example.com/img/invoice.jpg"  },  "to": "+905321234567",  "type": "image"}'
Example Response
{  "data": {    "body": "Siparişiniz yola çıktı.",    "contact_id": "019a8c2e-4f1b-7a09-9c3d-5e7a10000009",    "cost_amount": "0",    "cost_currency": "TRY",    "created_at": "2026-11-25T09:30:00Z",    "delivered_at": "2026-11-25T09:30:04Z",    "direction": "outbound",    "error_code": null,    "error_title": null,    "failed_at": null,    "failure_class": null,    "id": "019a8c2e-4f1b-7a12-9c3d-5e7a10000012",    "next_attempt_at": null,    "phone_number_id": "019a8c2e-4f1b-7a04-9c3d-5e7a10000004",    "pricing_category": "service",    "pricing_type": "free_customer_service",    "reaction": null,    "reactions": [      {        "at": "2026-11-25T09:31:10Z",        "by": {          "name": "Ayşe Yılmaz",          "type": "contact"        },        "direction": "inbound",        "emoji": "👍"      }    ],    "read_at": null,    "sent_at": "2026-11-25T09:30:01Z",    "status": "delivered",    "to": "+905321234567",    "type": "text",    "wamid": "wamid.HBgMOTA1MzIxMjM0NTY3FQIAERgSMjU0RkJBQ0E4QjM3QzFGRTlGAA=="  },  "meta": {    "request_id": "019a8c2e-4f1b-7fff-9c3d-5e7a1000ffff"  }}