Edit Template

Update an existing template. You can usually only edit templates that are in a REJECTED or PAUSED state, or to correct minor errors.

Example Request Body

{
    "name": "2023_april_promo",
    "components": [
        {
            "type": "HEADER",
            "format": "TEXT",
            "text": "Fall Sale"
        },
        {
            "type": "BODY",
            "text": "Hi {{1}}, our Fall Sale is on! Use promo code {{2}}...",
            "example": {
                "body_text": [["Mark", "FALL25"]]
            }
        },
        {
            "type": "FOOTER",
            "text": "Not interested in any of our sales? Tap Stop Promotions"
        },
        {
            "type": "BUTTONS",
            "buttons": [
                {
                    "type": "QUICK_REPLY",
                    "text": "Stop promotions"
                }
            ]
        }
    ],
    "language": "en_US",
    "category": "MARKETING"
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to v24.0
string
required

The ID of the template to edit.

Body Params
string
string
string
enum
Allowed:
components
array of objects
components
Headers
string
required

Provide your Access Token. Format: YOUR_API_KEY

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json