Send a WhatsApp message from the connected number: text, media by https link, an approved template or a reaction, optionally quoting a message
Send a WhatsApp message from the connected number: text, media by https link, an approved template or a reaction, optionally quoting a message. Free text and media only reach the contact within 24 hours of their last message; outside that window send a template. A refusal (recipient filter, closed window, Meta error) completes with sent=false and error.code.
Authorization
bearerApiKey Create a scoped API key in the Adlass settings.
In: header
Path Parameters
Resource identifier: connection_id.
uuidHeader Parameters
Optional correlation identifier.
length <= 128A unique key for this intended write; the body field idempotency_key is accepted instead. One of the two is required. Reuse it only for an identical retry.
1 <= length <= 200Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/integrations/connections/123e4567-e89b-42d3-a456-426614174000/providers/whatsapp/messages/send" \ -H "Idempotency-Key: 123e4567-e89b-42d3-a456-426614174000" \ -H "Content-Type: application/json" \ -d '{ "to": "1000000", "type": "text" }'{ "invocation_id": "123e4567-e89b-42d3-a456-426614174000", "status": "ACTIVE", "job_id": "example"}Download a received media file by media_id in chunks of up to 720 KiB as base64; repeat with offset=next_offset until next_offset is null POST
Vorherige Seite
Read the connected phone number: display number, verified name, status, quality rating, name status, messaging limit tier, platform and throughput. POST
Nächste Seite