Create an immediate or scheduled outbound WhatsApp send
Accepts a v2 outbound send command with text, image media, uploaded image files, or both. Without a schedule it queues one send job per recipient immediately. With a schedule it appends a scheduled-send event and starts a Temporal workflow that dispatches one or more occurrences later.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
WORKING sending session id. Receiving sessions cannot be used for outbound sends.
Internal group ids from /v2/groups that are present in the selected sending session.
1 - 100 elements1 - 200Text body for a text send, or image caption when media is present. Required when media is omitted.
4096Image media URLs to send with the message. At least text, media or multipart files must be provided.
10{
"first_run_at_ms": 1777809600000,
"interval_ms": 3600000,
"max_occurrences": 3
}Response
Send command accepted.
accepted, duplicate_accepted {
"status": "accepted",
"send_id": "018f06e2-4f8d-7c01-8a0d-cc6fd78f7100",
"event_ids": ["018f06e2-4f8d-7c01-8a0d-cc6fd78f7102"],
"results": [
{
"recipient_send_id": "018f06e2-4f8d-7c01-8a0d-cc6fd78f7101",
"group_id": "018f06e2-4f8d-7c01-8a0d-cc6fd78f7300",
"ok": true,
"status": "queued"
}
],
"request_id": "018f06e2-4f8d-7c01-8a0d-cc6fd78f7001"
}