Skip to main content
POST
cURL
This endpoint lets you create a new Template.

Authorizations

X-API-Key
string
header
required

API key authentication. Pass your API key in the X-API-Key header.

Body

application/json

Input for creating a new local WhatsApp template (draft).

name
string
required
Maximum string length: 512
category
enum<string>
required
  • UTILITY - UTILITY
  • MARKETING - MARKETING
  • AUTHENTICATION - AUTHENTICATION
Available options:
UTILITY,
MARKETING,
AUTHENTICATION
language
string
default:en
Maximum string length: 10
parameterFormat
enum<string>
default:POSITIONAL

Parameter format: POSITIONAL for {{1}}, {{2}} or NAMED for {{first_name}}, {{order_number}}

  • POSITIONAL - POSITIONAL
  • NAMED - NAMED
Available options:
POSITIONAL,
NAMED
components
object[]

Response

201 - application/json

Serializer for local WhatsApp templates with account links.

id
string<uuid>
required
read-only
name
string
required
Maximum string length: 512
category
enum<string>
required
  • UTILITY - Utility
  • MARKETING - Marketing
  • AUTHENTICATION - Authentication
Available options:
UTILITY,
MARKETING,
AUTHENTICATION
parameterFormat
string
required
createdAt
string<date-time>
required
read-only
updatedAt
string<date-time>
required
read-only
language
string
Maximum string length: 10
components
any