---
title: "Create WhatsApp template"
method: POST
path: "/beta/whatsapp/templates"
tags: ["WhatsApp Templates"]
---

# Create WhatsApp template

`POST /beta/whatsapp/templates`

Create a new WhatsApp template. The template body is limited to 1024 characters.

## Request body

- CreateTemplateInput
  - `name` string, required — Template name; may only contain lowercase letters, digits, and underscores
  - `language` string, required — Supported language codes: ar, bg, hr, cs, da, nl, en, et, fi, fr, de, el, he, hu, it, ja, ko, lv, lt, nb, pl, ro, ru, sr, sk, sl, es, sv, th, tr, uk, pt_PT, zh_CN, zh_TW, zh_HK
  - `templateType` union, required — Template body and type; use Text for text-only messages, Media for messages with an attachment
    - Media
      - `body` string, required — Template body text; maximum 1024 characters
      - `mediaUrl` string, required
    - Text3
      - `body` string, required — Template body text; maximum 1024 characters
  - `category` string, required — values: [UTILITY, MARKETING]
  - `variables` MapString, required

## Response `201`

The created WhatsApp template

- CreateWhatsappTemplateOutput
  - `data` CreateTemplateOutput, required
    - `id` string, required

## Other responses

- `400`
- `404` — An entity in this request could not be found
- `500` — Internal failure during request processing

---

[API](https://skmtc.net/dixa/apis/dixa-api.md) · [All operations](https://skmtc.net/dixa/apis/dixa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dixa/dixa-api/versions/041e058483f0/schema)
