---
title: "Send a WhatsApp template"
method: POST
path: "/whatsapp/send-template"
---

# Send a WhatsApp template

`POST /whatsapp/send-template`

Directly send a WhatsApp template to a contact

## Request body

- SendTemplateInputDto
  - `template_id` string, required
  - `phone_number_id` string, required
  - `variables` string[], required
  - `contact` union, required
    - object
      - `id` string, uuid, required
    - object
      - `email` string, email, required
    - object
      - `phone_number` string, required
  - `session_id` string

## Response `200`

Default Response

- SendTemplateOutputDto
  - `whatsapp_message_id` string, required
  - `opencx_message_id` string, required
  - `opencx_session_id` string, required

## Other responses

- `500` — Internal Server Error

---

[API](https://skmtc.net/open/apis/opencx-api.md) · [All operations](https://skmtc.net/open/apis/opencx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open/opencx-api/revisions/57b06b52302d/schema)
