patch https://a.klaviyo.com/api/templates/
Update a template with the given template ID. Does not currently update drag & drop templates.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
templates:write
Responses
Update a template with the given template ID. Does not currently update drag & drop templates.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
templates:write
xxxxxxxxxx
13curl --request PATCH \
--url https://a.klaviyo.com/api/templates/id \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'content-type: application/vnd.api+json' \
--header 'revision: 2025-01-15' \
--data '
{
"data": {
"type": "template"
}
}
'
xxxxxxxxxx
18{
"data": {
"type": "template",
"id": "string",
"attributes": {
"name": "string",
"editor_type": "string",
"html": "string",
"text": "string",
"amp": "string",
"created": "2022-11-08T00:00:00+00:00",
"updated": "2022-11-08T00:00:00+00:00"
},
"links": {
"self": "string"
}
}
}