“WhatsApp is a messaging app with over 1 billion active users, which makes it a popular platform to send button messages. In this tutorial, you’ll learn how to send button messages using the WhatsApp api. ”
Below are the three simple steps how you can connect your WhatsApp to Send Button Message via WhatsApp api.
Step 1: Create a WhatsApp Business Account
To use WhatsApp Business, you need to create a separate account for your business. You can download the WhatsApp Business app from the Google Play Store or the Apple App Store and follow the instructions to create your account.
Step 2: Get WhatsApp API access
SignUp on Online Live Support and get full WhatsApp API access
Step 3: Start Sending Messages
You can use Online Live Support APIs & webhook or alternatively you can use Pabbly, Integrately or Pipedream for integration.
To Send Button Message via WhatsApp api , you can use Online Live Support Send Button Message API
Send Button Message API docs: Click here
Example Request:
curl –location -g ‘https://v2.onlinelivesupport.com/chats/sendButtonMessage?id={{id}}’ \
–data ‘{
“jid”:”receivernumber”,
“imageUrl”: “”,
“contentText”: “body text”,
“footerText”: “footer text”,
“buttons”: [
{
“buttonId”: “btn1”,
“buttonText”: {
“displayText”: “Yes”
},
“type”: 1
},
{
“buttonId”: “btn2”,
“buttonText”: {
“displayText”: “No”
},
“type”: 1
}
]
}’
Full list of WhatsApp
Group APIs:
- Group Messages
- Send Message Text
- Send Bulk Text Message
- Send Image URL
- Send Document URL
- Send Document URL
- Send Video URL
- Send Location
- Send Location
- Send VCard
- Send ListMessage
- Send ButtonMessage
- Send ButtonLinkMessage
- Group Event
- List Group
- Create Group
- Info Group
- List Group Participants
- Make Admin
- Demote Admin
- Add Participants
- Remove Participants
- Update Group Name
- Update Description
- Settings Update
- Invite Code
- Leave Group
Frequently Asked Questions (FAQs)
How do I make interactive buttons on WhatsApp?
You can make interactive buttons on WhatsApp by using the Online Live Support. The API allows you to create buttons and send them as part of your message template. You can specify the type, text, and URL of each button.
- Sign up for a free trial account
- Connect your WhatsApp Business number to Online Live Support
- Integrate Online Live Support APIs with your system
How much does it cost to use WhatsApp API?
$39.99 / month is the fix charge for the WhatsApp Business API. Start free trial now
What is the WhatsApp button limit?
The WhatsApp button limit is the maximum number of buttons that can be included in a message template. Currently, WhatsApp allows up to three buttons per message template.
What is a send message button?
A send message button is a button that, when clicked, opens a chat with the sender on WhatsApp. This button is often used in marketing campaigns to encourage users to reach out to the sender directly.
What is floating action button in WhatsApp?
The floating action button in WhatsApp is a button that appears on the bottom right corner of the screen when a user is in a chat. It is used to quickly access common actions such as creating a new chat or broadcast message.