Skip to main content
POST
Create a template

Authorizations

Authorization
string
header
required

Tenant API key.

Body

application/json
wabaId
string
required

One of the tenant's WABAs with an active phone.

Pattern: ^\d+$
name
string
required
Required string length: 1 - 512
Pattern: ^[a-z0-9_]+$
language
string
required
Required string length: 2 - 16
Example:

"en_US"

category
enum<string>
required
Available options:
MARKETING,
UTILITY,
AUTHENTICATION
components
object[]
required

Meta's template components, passed as is.

Required array length: 1 - 10 elements

Response

Created and cached.

template
object
required