Skip to main content

Send a Text Message

POST /v1/notify/:channel/text
X-Api-Key: notifo_live_...
Content-Type: application/json

Request body

{
"to": "+905551234567",
"text": "Hello from Notifo!",
"channelAccountId": "acc_01j...",
"idempotencyKey": "order-123-notification"
}
FieldTypeRequiredDescription
tostringyesRecipient phone/chat ID
textstringyesMessage body (max 4096 chars)
channelAccountIdUUIDnoSpecific connected account to use; omit to use default
idempotencyKeystringnoUnique key (max 100 chars) to prevent duplicate sends

Response 202 Accepted

{
"id": "msg_01j...",
"tenantId": "ten_01j...",
"provider": "whatsapp",
"to": "+905551234567",
"type": "text",
"status": "queued",
"body": { "text": "Hello from Notifo!" },
"createdAt": "2025-01-01T12:00:00.000Z"
}

Examples

curl -X POST https://api.notifo.cloud/v1/notify/whatsapp/text \
-H "X-Api-Key: notifo_live_abc123" \
-H "Content-Type: application/json" \
-d '{"to": "+905551234567", "text": "Hello!"}'