post
https://public.doubletick.io/whatsapp/message/interactive/media
Sends an interactive message with an image, video or document header and reply buttons or a URL button.
Before you call
from(your connected WhatsApp number) is required, plusto(customer's phone number with country code) orcustomerId.groupIdis not supported.content.mediaUrl(a valid URL) andcontent.mediaType(image,videoordocument) are required.content.fileNameis optional for documents.content.bodyis required, up to 1024 characters.- Send exactly one of
content.buttons(reply buttons, each with a uniqueidand atitle) orcontent.ctaButton(one URL button). ctaButton.display_textis up to 20 characters.ctaButton.urlmust start withhttp://orhttps://.content.footeris optional, up to 60 characters.messageIdis optional. If you send it, it must be a UUID v4. If you don't, DoubleTick generates one.
How it works
- DoubleTick reads the media's content type from
mediaUrl, so the URL must be publicly reachable. - The message is queued for sending. The response contains
recipient,status(SENTorFAILED, witherrorMessage) andmessageId. - Use the
messageIdwith Get Message Status to check delivery and read status.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
201
