Skip to main content
POST
Create a WhatsApp template from the library

Authorizations

Authorization
string
header
required

Bearer token authentication using your API key

Path Parameters

org_id
string
required

The ID of the org

connection_id
string
required

The ID of the connection

Body

name
string
required
Required string length: 1 - 512
language
string
required
category
enum<string>
required
Available options:
AUTHENTICATION,
MARKETING,
UTILITY
library_template_name
string
required
waba_id
string
phone_number_id
string
library_template_button_inputs
object[]
library_template_body_inputs
object

Response

200 - application/json
id
string
required
waba_id
string
required
name
string
required
language
string
required
status
enum<string>
required
Available options:
APPROVED,
IN_APPEAL,
PENDING,
REJECTED,
PENDING_DELETION,
DELETED,
DISABLED,
PAUSED,
LIMIT_EXCEEDED
category
enum<string>
required
Available options:
AUTHENTICATION,
MARKETING,
UTILITY
components
object[]
required
quality_score
object