Skip to main content
POST
cURL
This endpoint lets you publish a WhatsApp Template to one or more WhatsApp Business Accounts.

Authorizations

X-API-Key
string
header
required

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

Path Parameters

id
string
required

Body

application/json

Input for publishing a template to one or more accounts.

accountIds
string<uuid>[]
required

List of WhatsApp Business Account IDs to publish the template to

Minimum array length: 1

Response

200 - 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