Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token issued for your account. Send as Authorization: Bearer <token>.

Path Parameters

sender_hash
string
required

WhatsApp sender identifier used in the URL.

Body

application/json
name
string
required

Lowercase template name using letters, numbers and underscores.

Required string length: 1 - 512
language
string
required

Meta language or locale code, for example en or en_US.

Required string length: 2 - 20
category
enum<string>
required

WhatsApp template category.

Available options:
MARKETING,
UTILITY,
AUTHENTICATION
components
(Header component · object | Body component · object | Footer component · object | Buttons component · object | Limited-time offer component · object | Carousel component · object)[]
required

Template components. Add the component types required by the template: HEADER, BODY, FOOTER, BUTTONS, LIMITED_TIME_OFFER or CAROUSEL. BODY is required by standard templates; component combinations and limits depend on the template category and type.

Optional template header. Supports text, image, video, document or location format.

Response

default

Response status and body were not included in the supplied API details.