➡️ Send Buttons
This endpoint enables users to send interactive messages with buttons to specified WhatsApp users, providing a dynamic way to engage recipients directly within the chat. The button-based interactions streamline responses and enhance user experience, making it a powerful tool for customer service systems, automated response workflows, and interactive marketing campaigns. Ideal for gathering quick feedback, confirming orders, or guiding users through step-by-step processes, this feature seamlessly integrates with applications to support efficient, actionable messaging.
post/send-message/button
Request
- Base URLhttps://api.crunchz.app/api
- AuthOAuth 2Client credentialsToken URLhttps://example.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
200
Example response
{
"success": true,
"message": "OK",
"data": {
"status": "PENDING",
"message": "Hi there, you can check our menu on the button below.",
"footer": "Copyright 2024",
"buttons": [
{
"name": "cta_url",
"buttonParamsJson": "{\"display_text\":\"Menu\",\"id\":\"6574368799970303\",\"disabled\":false,\"url\":\"https://facebook.com/\",\"merchant_url\":\"https://facebook.com/\"}"
}
],
"timestamp": "1730540455"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.