Send Interactive Buttons
Send a WhatsApp session message with up to 3 reply buttons via the ChatSyncs API, optionally with an image/video/document header. Use when a developer asks how to send tappable reply buttons, or why a media+buttons request failed.
Limits
- 1 to 3 buttons, sent as a JSON array. Each is either a string or
{"id":"buy_now","title":"Buy Now"}; theidcomes back when the contact taps it. - Each title is at most 20 characters (
Button title may not be greater than 20 characters.). - A media header can be an image, video or document — never audio.
button_header_textis ignored when media is attached.
wa_message_id, like the other send endpoints.Body
Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.
"API-KEY"
The WhatsApp account's phone number ID. Where to find it.
"PHONE-NUMBER-ID"
The subscriber's phone number, with country code, digits only.
"PHONE-NUMBER"
The message body shown above the buttons.
"Choose an option"
JSON array of 1 to 3 reply buttons. Each item is a string or an object with id and title (max 20 characters).
"[{\"id\":\"buy_now\",\"title\":\"Buy Now\"},{\"id\":\"details\",\"title\":\"View Details\"}]"
Optional text header. Ignored if a media header is sent instead.
"Limited Time Offer"
Optional footer text shown below the buttons.
"Powered by ChatSyncs"
Public HTTPS URL of an image, video, or document to use as the header. Use either media_url or media_id, not both.
"https://example.com/image.jpg"
A WhatsApp media ID from Upload Media. Requires media_type when used.
"1739230482390482"
One of image, video, document. Required when using media_id, or when media_url has no file extension. Audio is not supported.
"image"
Filename to display — only used when media_type is document.
"brochure.pdf"

