Use this endpoint to send a transactional WhatsApp message to a single recipient. The message must reference an approved Meta template — RelayOS routes the request through the official WhatsApp Cloud API and immediately returns a message ID you can use to track delivery.Documentation Index
Fetch the complete documentation index at: https://docs.relayos.com.br/llms.txt
Use this file to discover all available pages before exploring further.
Request
POST https://api.relayos.com.br/v1/messages
Headers
Bearer token for your RelayOS API key. Format:
Bearer YOUR_API_KEY.Must be
application/json.An arbitrary unique string (e.g.,
order-99-reminder) that prevents duplicate sends if you retry the request due to a network error. Keys are deduplicated for 24 hours.Body
Recipient phone number in E.164 format, including the country code. Example:
+5511999998888.Name of an approved Meta WhatsApp template registered in your account. Example:
lembrete_consulta.BCP-47 language code matching the template variant to use. Example:
pt_BR, en_US.Key-value pairs that substitute numbered placeholders in the template body. Keys are string integers starting at
"1".Example
Response
A200 response means RelayOS accepted the message and placed it in the send queue. Actual delivery to the recipient happens asynchronously.
Unique message ID assigned by RelayOS. Use this to poll status via
GET /v1/messages/{id} or match it against webhook events.Initial status of the message. Always
QUEUED on creation.The recipient phone number as provided in the request.
The template name used for this message.
ISO 8601 timestamp of when the message was accepted into the queue. Example:
2026-05-14T10:30:00Z.Use
Idempotency-Key to safely retry requests without risk of sending the same message twice. RelayOS deduplicates requests with the same key for 24 hours.