Send Template API
This guide is designed to provide you with a comprehensive understanding of how to effectively utilize our API for sending WhatsApp template messages.
Last updated
This guide is designed to provide you with a comprehensive understanding of how to effectively utilize our API for sending WhatsApp template messages.
Last updated
This Send WhatsApp Template API helps you to send a message to end user using an API.
This API requires an active WhatsApp Account on QuickReply.ai along with a non-negative WhatsApp Wallet Balance
Pre-requisites
The WhatsApp Template is already approved
You have Messaging Credits Wallet balance to send the template message
You have not exceeded your daily messaging limit on your WhatsApp number
POST
https://app.quickreply.ai/api/whatsapp/send-template?templateId={{template_id}}
Body is a JSON Object
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Fields marked with *️ are Required.
Name | Type | Description |
---|---|---|
templateId*
String
You can find the template id by clicking on the 3 dots at the right of template block and clicking "Copy Template Id"
client-id*
String
You can find client-id of your account in Settings > Developers > API credentials
secret-key*
String
You can find secret-key of your account in Settings > Developers > API credentials
Content-Type*
application/json
params*
Array of Strings
Comma-Separated Strings representing the values that will replace the variables template's body
button_params
Array of Strings
// Required - If Template has a Dynamic CTA URL
Comma-Separated Strings representing the variable part of dynamic url
to*
String
Phone number of the recipient
name
String
Name of recipient
String
Email of recipient
hook_with_playbook
String
Playbook or a Custom bot to which the user should be hooked on their response on the QuickReply button. This works only for templates with QuickReply buttons.
link
String
// Required - if the template is of type media
Public accessible media URL for Media Templates like an Image, Video, or Document.
IMAGE: Supported types: image/jpeg, image/png
VIDEO: Supported types: video/mp4, video/3gpp
DOCUMENT:
Supported types: Any valid MIME-type