---
title: "Create authentication template w/ OTP copy code button"
method: POST
path: "/{Version}/{WABA-ID}/message_templates"
tags: ["Flows", "Send Flow"]
---

# Create authentication template w/ OTP copy code button

`POST /{Version}/{WABA-ID}/message_templates`

## Request

- Base URL: `https://graph.facebook.com`
- URL: `https://graph.facebook.com/{Version}/{WABA-ID}/message_templates`
- Auth: HTTP bearer

- Guide: [Authentication Templates with OTP Buttons](https://developers.facebook.com/docs/business-messaging/whatsapp/templates/authentication-templates/authentication-templates)
- Guide: [Message Templates](https://developers.facebook.com/docs/business-messaging/whatsapp/templates/overview)
- Guide: [How To Monitor Quality Signals](https://developers.facebook.com/docs/whatsapp/guides/how-to-monitor-quality-signals)
- Endpoint reference: [WhatsApp Business Account > Message Templates](https://developers.facebook.com/docs/graph-api/reference/whats-app-business-account/message_templates/)

## Request body

- object
  - `category` string
  - `components` object[]
    - `buttons` object[]
      - `flow_action` string
      - `flow_id` string
      - `navigate_screen` string
      - `text` string
      - `type` string
    - `text` string
    - `type` string
  - `language` string
  - `name` string

## Response `200`

Example response / Example response / Example response / Example response / Example response / Example response / Example response / Example response / Create Flow Template Message by Name / Create Flow Template Message by Flow JSON / Create Flow Template Message by ID

- object
  - `category` string
  - `id` string
  - `status` string

---

[API](https://skmtc.dev/meta/apis/whatsapp-business-messaging.md) - [All operations](https://skmtc.dev/meta/apis/whatsapp-business-messaging/llms.txt) - [OpenAPI document](https://skmtc.dev/meta/apis/whatsapp-business-messaging/revisions/5c1973265369?raw)
