Sends a message through a paired WAHA session. Base64 attachments (25 MB in total) go out as photo, voice note or document by MIME type, with text as the caption of the first file. to is a phone number in E.164 form or a WhatsApp chat id. WAHA is an unofficial transport: use it for conversations the recipient already started, never for cold outreach — see docs/CAMPAIGN-COMPLIANCE.md.
apiKeyAuth In: header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$uuid3 <= length <= 64length <= 40961 <= length <= 255items <= 20Optional client-chosen key. Replaying the same key returns the original result instead of sending again.
1 <= length <= 128application/json
application/json
application/json
application/json
application/json
curl -X POST "https://loading/api/v1/messaging/whatsapp/send" \ -H "Content-Type: application/json" \ -d '{ "connectedAccountId": "ac03972a-5ca5-43c5-b96f-c519ac843b7a", "to": "string" }'API key authentication. Create an API key in your user profile and include it in the x-api-key header.
{
"externalMessageId": "string",
"sentAt": "string",
"replayed": true,
"outcome": "sent"
}"string""string""string""string"