Skip to main content
POST
Create a template

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

external_ref
string
required

Your own id for the customer business, set when you created it.

Body

application/json
name
string
required

The template name.

category
string
required

The category, for example UTILITY or MARKETING.

language
string
required

The language code, for example en_US.

body_text
string

The body text. Required when you send no components.

header_text
string

An optional text header.

An optional footer.

example_body_params
string[]

Example values for the body variables.

components
object[]

Template components, as Meta defines them.

phone_number_id
string

Pick the number whose account is used.

Response

Success