channels
whatsapp
whatsapp-service-management
whatsapp-template-management
Edit WhatsApp Template
Edit a WhatsApp template. Once edited, Infobip submits a template for WhatsApp's review and approval. When approved, a template can be sent to end users. Refer to template guidelines for additional info.
- Only templates with an approved, rejected, or paused status can be edited.
- Use the structure provided in the Create WhatsApp Template endpoint.
- Category of an approved template cannot be edited.
- Approved templates can be edited up to 10 times in a 30-day window, or 1 time in a 24-hour window. Rejected or paused templates can be edited an unlimited number of times.
patch/whatsapp/2/senders/{sender}/templates/{id}
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.
idstring required
Template ID. Must be a number.
Request body
Example request
{
"category": "MARKETING"
}Response
Template edited.
Example response
{
"id": "111",
"businessAccountId": 222,
"name": "template_name",
"language": "en",
"status": "APPROVED",
"category": "MARKETING",
"quality": "HIGH"
}Changes
No recorded changes to this operation across all 1 revision of this API.