Use interactive buttons in message templates (OBO)
When creating your template in Facebook Business Manager, you can add one of two types of interactive buttons to your template:
Call to Action buttons, or
Quick Reply buttons
Only one type of button can be included per template.
Once your template is approved, you can send the message template via One API by using the endpoint as described in the One API Reference doc.
Call to action buttons
This allows your customer to call a phone number or visit a website with the tap of a button.
From the drop-down select the type of action button you want to add.
Specify the text that should appear on the button.
You can add a maximum of two buttons per template.
A template can only contain one phone number and one website button.
The button text can be a maximum of 20 characters long.
Visit Website
The website URL is expected in the format:
Static URL: http(s)://www.google.com
Dynamic URL: http(s)://www.google.com/{{1}}
The specified URL can be up to 2000 characters long.
When clicking this button, the customer is directed to the specified website on their device.
All variables (e.g., {{1}}) are set when sending the message via One API, where you can specify the parameters in the payload.
Call Phone Number
Specify the country linked to the phone number.
Enter the phone number in the international format, e.g. “+14111111111”.
When clicking this button, a call is initiated from the customer's device to the specified number.
Quick reply button
This allows your customer to respond with a simple pre-defined text message. When clicking this button, the customer sends the response to the business as part of the conversation.
To add the button, enter the text response and click + Add button.
You can add a maximum of three buttons per template.
The button text can be a maximum of 20 characters long.
The text on every button used in a template must be unique.
If you select "Marketing" as your template category, you also have the option to add an "Opt-Out" quick-reply button to give your end-users an easy way to opt out of all marketing messages.
This can help reduce blocks from customers and increase the template's quality rating.
Note that it is still your responsibility to actually remove these customers from your contact list.