v1

latestOpenAPI 3.0.02026-07-2483164186.3 KB
Outgoing Messages

Send Whatsapp Interactive Media Message

Send Whatsapp Interactive Button Message with media header (image, video or document).

post/whatsapp/message/interactive/media

Request body

fromstring phone

The phone number from which the message is sent, with the country code

tostring phone required

The phone number to which the message is sent, with the country code

messageIdstring

Message ID (UUID v4) to be used for the message. If not provided, a random UUID v4 will be generated

Example request

{
  "from": "+919999999999",
  "to": "+919999999999",
  "messageId": "uuid-v4",
  "content": {
    "body": "test",
    "footer": "asd",
    "buttons": [
      {
        "id": "uuid-v4",
        "title": "Button title"
      }
    ],
    "fileName": "Screenshot 2025-04-08 at 11.39.38 AM.png",
    "mediaUrl": "https://data-storage.doubletick.io/org_xxx/bot/uuid-v4/images/uuid-v4.png",
    "mediaType": "image/png"
  }
}