Skip to main content
POST
Create a draft WhatsApp template

Authorizations

Authorization
string
header
required

JWT access token obtained from POST /api/v1/auth/jwt/login, the OAuth token endpoint, or a business-scoped API token. Some Business/Chat/Template/Scheduling endpoints alternatively accept HTTP Basic credentials scoped to the business slug.

Headers

business-id
string<uuid>
required

Body

application/json
display_name
string
required
Maximum string length: 512
language
string
required
Maximum string length: 10
body_text
string
required
Required string length: 1 - 1024
category
string | null
header_text
string | null
Maximum string length: 60
Maximum string length: 60
twilio_content_sid
string | null
Maximum string length: 64

Response

Draft template created.

id
string<uuid>
business_id
string<uuid>
display_name
string
language
string
category
string | null
status
enum<string>
Available options:
DRAFT,
PENDING,
APPROVED,
REJECTED
body_text
string
created
string<date-time>
modified
string<date-time>