Comment on page
Send Template API
This is a BETA version of the API. For any queries, please write to [email protected]
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 template is already approved
- You have wallet balance to send a template message
- You have not exceeded your daily messaging limit
post
https://app.quickreply.ai/api/whatsapp/send-template?templateId={{template_id}}
Send WhatsApp Template Message by API
curl --location --request POST 'https://app.quickreply.ai/api/whatsapp/send-template?templateId=1531b8a3-cacb-4141-b267-51b7d9637191' \
--header 'client-id: oLtaHhFFVapeELFro_c' \
--header 'secret-key: 2gqRDCxNFHoYawRFh' \
--header 'Content-Type: application/json' \
--data-raw '{
"params": [
"var_1",
"var_2",
"var_3"
],
"button_params" : [
"url_suffix/something"
],
"to": "+919876543210",
"name": "Utkarsh",
"email": "[email protected]",
"link": "https:/some-public-domain/sample_image.jpeg",
"hook_with_playbook": "61c01099380d7b33bf30d7cd"
}'
curl --location --request POST 'https://app.quickreply.ai/api/whatsapp/send-template?templateId=1531b8a3-cacb-4141-b267-51b7d9637191' \
--header 'client-id: oLtaHhFFVapeELFro_c' \
--header 'secret-key: 2gqRDCxNFHoYawRFh' \
--header 'Content-Type: application/json' \
--data-raw '{
"params": [
"var_1",
"var_2",
"var_3"
],
"to": "+919876543210",
"name": "Utkarsh",
"email": "[email protected]"
}'
curl --location --request POST 'https://app.quickreply.ai/api/whatsapp/send-template?templateId=1531b8a3-cacb-4141-b267-51b7d9637191' \
--header 'client-id: oLtaHhFFVapeELFro_c' \
--header 'secret-key: 2gqRDCxNFHoYawRFh' \
--header 'Content-Type: application/json' \
--data-raw '{
"params": [
"var_1",
"var_2",
"var_3"
],
"to": "+919876543210",
"name": "Utkarsh",
"email": "[email protected]",
"link": "https:/some-public-domain/sample_image.jpeg"
}'
curl --location --request POST 'https://app.quickreply.ai/api/whatsapp/send-template?templateId=1531b8a3-cacb-4141-b267-51b7d9637191' \
--header 'client-id: oLtaHhFFVapeELFro_c' \
--header 'secret-key: 2gqRDCxNFHoYawRFh' \
--header 'Content-Type: application/json' \
--data-raw '{
"params": [
"var_1",
"var_2",
"var_3"
],
"button_params" : [
"url_suffix/something"
],
"to": "+919876543210",
"name": "Utkarsh",
"email": "[email protected]",
"link": "https:/some-public-domain/sample_image.jpeg"
}'
curl --location --request POST 'https://app.quickreply.ai/api/whatsapp/send-template?templateId=1531b8a3-cacb-4141-b267-51b7d9637191' \
--header 'client-id: oLtaHhFFVapeELFro_c' \
--header 'secret-key: 2gqRDCxNFHoYawRFh' \
--header 'Content-Type: application/json' \
--data-raw '{
"params": [
"var_1",
"var_2",
"var_3"
],
"to": "+919876543210",
"name": "Utkarsh",
"email": "[email protected]",
"link": "https:/some-public-domain/sample_image.jpeg",
"hook_with_playbook": "61c01099380d7b33bf30d7cd"
}'