WhatsApp API
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.
POST
Send Interactive Buttons
Sends a session message with up to 3 tappable reply buttons, optionally with an image,
video, or document attached as the header.
The response includes the
Like Send Text Message, this is a session
message — only deliverable within the 24-hour window after the recipient last messaged you.
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
application/x-www-form-urlencoded
Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.
Example:
"API-KEY"
The WhatsApp account's phone number ID. Where to find it.
Example:
"PHONE-NUMBER-ID"
Optional footer text shown below the buttons.
Example:
"Powered by ChatSyncs"
A WhatsApp media ID from Upload Media. Requires media_type when used.
Example:
"1739230482390482"

