# Send WhatsApp template message

## What are WhatsApp template messages?

{% hint style="info" %}
Ensure that your templates meet Facebook's  [Message Template Guidelines](https://developers.facebook.com/docs/whatsapp/message-templates/guidelines).&#x20;
{% endhint %}

Template messages are useful when you try to send the same type of message to a number of customers (notifications, remninders, etc.). You can also send them first to the customers even if you have never messaged the customer. And they don’t have the 24-hr reply window constraint as regular session messages do.

Below is an example to send a template message to a given WhatsApp number. Note the template has to be created and approved in your WhatsApp Manager, which is part of the [Facebook Business Manager](https://business.facebook.com/) before sending. You can also contact us if you need help to create one.

```bash
curl 
--request POST \
     --url https://api.connectly.ai/v1/businesses/<business_id>/send/whatsapp_templated_messages \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'X-API-Key: <YOUR_KEY_HERE>' \
     --data '
{
     "parameters": [
          {
               "name": "body_1",
               "value": "value1"
          },
          {
               "name": "body_2",
               "value": "value2"
          }
     ],
     "number": "<WA_Number>",
     "templateName": "<Template_name>",
     "language": "en_US"
}'
```

For more information and detailed instructions, see [send-template-message](https://docs.connectly.ai/message-api/message-service-api/messageservice/send-template-message "mention")

{% content-ref url="../message-api" %}
[message-api](https://docs.connectly.ai/message-api)
{% endcontent-ref %}

<br>
