---
title: "Create a WhatsApp template for Meta review"
method: POST
path: "/whatsapp-templates/{channelId}"
tags: ["WhatsApp templates"]
---

# Create a WhatsApp template for Meta review

`POST /whatsapp-templates/{channelId}`

## Request

- Base URL: `https://platform-api.visitoai.com/m2m/v1`
- URL: `https://platform-api.visitoai.com/m2m/v1/whatsapp-templates/{channelId}`
- Auth: HTTP bearer

Requires `whatsapp_templates:write`.

## Path parameters

- `channelId` string, required

## Request body

- WhatsappTemplateCreateRequest
  - `template` object, required
    - `name` string, required
    - `language` string, required
    - `category` 'UTILITY' | 'MARKETING' | 'AUTHENTICATION', required
    - `components` object[], required

## Response `201`

Template submitted to Meta

- WhatsappTemplateResponse
  - `template` WhatsappTemplate, required
    - `id` string
    - `name` string, required
    - `status` string, required
    - `language` string
    - `category` 'UTILITY' | 'MARKETING' | 'AUTHENTICATION'
    - `components` object[]

## Other responses

- `default`: Structured error

---

[API](https://skmtc.dev/visitoai/apis/visito-m2m-api.md) - [All operations](https://skmtc.dev/visitoai/apis/visito-m2m-api/llms.txt) - [OpenAPI document](https://skmtc.dev/visitoai/apis/visito-m2m-api/revisions/98377d35c234?raw)
