Templates
Edit template
- Guide: Message Templates
- Guide: How To Monitor Quality Signals
- Endpoint reference: WhatsApp Message Template
post/{Version}/{TEMPLATE_ID}
Request
- Base URLhttps://graph.facebook.com
- URLhttps://graph.facebook.com/{Version}/{TEMPLATE_ID}
- AuthHTTP bearer
Request body
Example request
{
"category": "MARKETING",
"components": [
{
"format": "TEXT",
"text": "Fall Sale",
"type": "HEADER"
},
{
"example": {
"body_text": [
[
"Mark",
"FALL25"
]
]
},
"text": "Hi {{1}}, our Fall Sale is on! Use promo code {{2}} Get an extra 25% off every order above $350!",
"type": "BODY"
},
{
"text": "Not interested in any of our sales? Tap Stop Promotions",
"type": "FOOTER"
},
{
"buttons": [
{
"text": "Stop promotions",
"type": "QUICK_REPLY"
}
],
"type": "BUTTONS"
}
],
"language": "en_US",
"name": "2023_april_promo"
}Response
Example response
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 5 revisions of this API.