---
title: "Create broadcast template"
method: POST
path: "/orgs/broadcasts/{broadcast_id}/templates"
tags: ["Broadcasts"]
---

# Create broadcast template

`POST /orgs/broadcasts/{broadcast_id}/templates`

## Request

- Base URL: `https://api.useinvent.com`
- URL: `https://api.useinvent.com/orgs/broadcasts/{broadcast_id}/templates`
- Auth: HTTP bearer

Create a new template for a broadcast. The broadcast must be in DRAFT status.

## Path parameters

- `broadcast_id` string, required

## Request body

- CreateBroadcastTemplateSchema: Schema for creating a broadcast template
  - `connection_id` string, nullable
  - `channel_type` 'internal' | 'org' | 'agent' | 'custom' | 'whatsapp_bot' | 'messenger_bot' | 'instagram_dm' | 'tiktok_dm' | 'telegram_bot' | 'slack_bot' | 'teams_bot' | 'gmail' | 'outlook' | 'twilio' | 'telnyx' | 'email' | 'smpp', required: The channel type
  - `config` BroadcastTemplateConfigSchema, required: Configuration object for the broadcast template

## Response `200`

- BroadcastTemplateSchema: Schema for a broadcast template
  - `id` string, required
  - `broadcast_id` string, required
  - `connection_id` string, nullable, required
  - `channel_type` 'internal' | 'org' | 'agent' | 'custom' | 'whatsapp_bot' | 'messenger_bot' | 'instagram_dm' | 'tiktok_dm' | 'telegram_bot' | 'slack_bot' | 'teams_bot' | 'gmail' | 'outlook' | 'twilio' | 'telnyx' | 'email' | 'smpp', required: The channel type
  - `recipients_count` number, required
  - `config` BroadcastTemplateConfigSchema, required: Configuration object for the broadcast template
  - `error` string, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

---

[API](https://skmtc.dev/useinvent/apis/invent-api.md) · [All operations](https://skmtc.dev/useinvent/apis/invent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useinvent/apis/invent-api/revisions/98824f3fde82?raw)
