Request
POST https://api.relayos.com.br/v1/messages
Headers
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.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.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.