Skip to main content
POST
Create message template

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix) or project token (pmfa_pt_ prefix). Client tokens are not accepted by Graph operations.

Path Parameters

version
string
required

Specifies version for this path parameter.

Example:

"v21.0"

wabaId
string
required

Identifier for the waba.

Example:

"200000000000001"

Body

application/json
name
string
required

Human-readable name for this resource.

Example:

"order_update"

language
string
required

Language or locale code used for this content.

Example:

"en_US"

category
enum<string>
required

Specifies category for this graph graph create message template request.

Allowed values

Available options:
UTILITY,
MARKETING,
AUTHENTICATION
Example:

"UTILITY"

components
null[]
required

Structured components that make up this message or template.

Accepted alternatives

allow_category_change
boolean

Whether allow category change.

Response

Template submitted

id
string
required

Identifier for this resource.

status
string
required

Current status of this resource or operation.

category
string
required

Specifies category for this graph graph create message template response.