Skip to main content
POST
Create a WhatsApp template

Authorizations

Authorization
string
header
required

Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.

Path Parameters

number
string
required

Sender's phone number, digits only.

Example:

"14155550100"

Body

application/json

Attributes for the new template.

name
string
required

Template name.

Example:

"order_shipped"

language
string
required

Template language code.

Example:

"en_US"

category
enum<string>
required

Template category.

Available options:
marketing,
authentication,
utility
Example:

"utility"

components
WhatsAppTemplateComponent · object[]
required

Structural components of the template. Must include a BODY component.

Response

The newly created WhatsApp template.

template
WhatsAppTemplate · object
required