channels
whatsapp
whatsapp-service-management
whatsapp-template-management
Create WhatsApp Template
Create a WhatsApp template. Created template will be submitted for WhatsApp's review and approval. Once approved, template can be sent to end-users. Refer to template guidelines for additional info. This version is deprecated as of June 29th 2022, meaning no fixes/updates will be provided and no new parameters will be added. This API will be deleted at the end of the year. Please use the latest version.
post/whatsapp/1/senders/{sender}/templates
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Path parameters
senderstring required
Registered WhatsApp sender number. Must be in international format.
Request body
Example request
{
"language": "en",
"category": "ACCOUNT_UPDATE",
"structure": {
"body": "body {{1}} content",
"footer": "footer"
}
}Response
Template created.
Example response
{
"id": "111",
"businessAccountId": 222,
"name": "template_name",
"language": "en",
"status": "APPROVED",
"category": "ACCOUNT_UPDATE",
"structure": {
"body": "body {{1}} content",
"footer": "footer"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.