> For the complete documentation index, see [llms.txt](https://docs.cuoral.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cuoral.com/api-reference/engagement/whatsapp/send-template-message.md).

# Send template message

## Send template message

<mark style="color:green;">`POST`</mark> `/`external/v1/whatsapp/send-template

Send standalone WhatsApp template/content-SID message (e.g., OTP).

**Headers**

| Name         | Value              |
| ------------ | ------------------ |
| Content-Type | `application/json` |
| x-api-key    | `<api key>`        |

**Body**

{% hint style="info" %}

```
Create template:
body: "Your OTP is {{1}}"
variables: { "1": "otp_code" }
 
Send template message:
template_variables: { "1": "123456" }
```

{% endhint %}

```json
{
  "to": "string",
  "template_id": "string",
  "template_variables": {
    "additionalProp1": {}
  },
  "fallback_message": "string"
}
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
  "success": true,
  "status": "string",
  "message_id": "string",
  "billing_units_charged": 0,
  "wallet_charge_applied": true,
  "message": "string"
}
```

{% endtab %}

{% tab title="422" %}

```json
{
  "detail": [
    {
      "loc": [
        "string",
        0
      ],
      "msg": "string",
      "type": "string",
      "input": "string",
      "ctx": {}
    }
  ]
}
```

{% endtab %}
{% endtabs %}
