Create Template
Please, check the documentation for a complete guide of components and template creation. Click here for Documentation
Creates a WhatsApp message template for the specified business using the required and optional fields per WhatsApp's guidelines.
Path parameters
businessnamestringRequired
The name of the business for which the template is being created.
Body
namestringRequiredExample:
Unique name for the template (lowercase letters and underscores only, no spaces).
order_confirmationcategorystring · enumRequiredExample:
Template category, following WhatsApp-supported categories such as TRANSACTIONAL, MARKETING, or OTP.
TRANSACTIONALPossible values: languagestringRequiredExample:
Language code for the template (ISO 639-1 code). See WhatsApp documentation for supported codes.
enResponses
201
Template successfully created
application/json
400
Invalid request (e.g., missing or improperly formatted parameters)
application/json
401
Authentication failed
application/json
500
Server error
application/json
post
/user/templatesPOST /ext/v2/examplebusiness/user/templates HTTP/1.1
Host: api.pingueen.it
Content-Type: application/json
Accept: */*
Content-Length: 153
{
"name": "order_confirmation",
"category": "TRANSACTIONAL",
"language": "en",
"components": [
{
"type": "HEADER",
"text": "Order {{1}} confirmed!",
"format": "TEXT"
}
]
}{
"success": true
}Last updated