Send message
Enqueues sending a message from the number linked to the API key. Use exactly one of templateId (template send, with variables) or text (free-form); and exactly one destination: destinationNumber (E.164), groupId (…@g.us) or newsletterId (…@newsletter). Requires a number-scoped key (403 for a tenant key). Real side effect: actually delivers and may cost. NOT_SUPPORTED_FOR_META for groupId/newsletterId on Meta numbers.
Requires a number-scoped key.
Authorizations
Your ps_ API key
Body
Template id or name (mutually exclusive with text).
"boas_vindas"
Free-form text (mutually exclusive with templateId).
"Olá! Sua entrega chegou."
Destination (exactly one). Accepts an E.164 phone OR a BSUID — the contact's durable userId (e.g. BR.13491208655302741918), returned by GET /api/v1/conversations. Use the BSUID to reply to contacts using a WhatsApp username (no phone). One-tap/zero-tap/copy-code authentication templates require a phone number.
"5511988887777"
Group JID. NOT_SUPPORTED_FOR_META.
"123456789-987654321@g.us"
Channel/newsletter JID. NOT_SUPPORTED_FOR_META.
"120363000000000000@newsletter"
Template variables (default {}).
"{ \"nome\": \"Ana\" }"
Public http(s) URL OR base64 data URI (e.g. data:audio/ogg;base64,AAAA…). Base64 works on Meta Cloud API and Evolution v2; on Evolution GO use a public http(s) URL (GO does not accept base64). Used in template mode or in direct-media mode (media + mediaType, without templateId and without text).
"https://cdn.acme.com/img.png"
Media type. In direct-media mode (no templateId/text) send media + mediaType: optional caption for image/video/document (not for audio); buttons/header/footer/variables not allowed. "audio" is delivered as a voice note (PTT) on Meta Cloud API, Evolution v2, and Evolution GO; on Evolution v2 and GO a "recording audio" presence indicator is shown to the recipient before the voice note (Meta has no outbound presence API).
"image"
Buttons (QUICK_REPLY/URL/PHONE_NUMBER/COPY_CODE).
Header for free-form (with buttons).
Footer for free-form (with buttons).
Schedule delivery for a future time.
"2026-06-21T09:00:00Z"
Maximum delivery window.
"2026-06-21T18:00:00Z"
Labels to apply to the destination conversation.
"[\"pedido\", \"vip\"]"
Response
Send template