patch https://a.klaviyo.com/api/template-universal-content/
Update universal content. The definition
field can only be updated for text blocks at this time.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
templates:write
Responses
Update universal content. The definition
field can only be updated for text blocks at this time.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
templates:write
xxxxxxxxxx
19curl --request PATCH \
--url https://a.klaviyo.com/api/template-universal-content/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-universal-content",
"attributes": {
"definition": {
"content_type": "block",
"type": "html"
}
}
}
}
'
xxxxxxxxxx
{
"data": {
"type": "template-universal-content",
"id": "01HWWWKAW4RHXQJCMW4R2KRYR4",
"attributes": {
"name": "string",
"definition": {
"content_type": "block",
"type": "button",
"data": "string"
},
"created": "2022-11-08T00:00:00+00:00",
"updated": "2022-11-08T00:00:00+00:00",
"screenshot_status": "completed",
"screenshot_url": "string"
},
"links": {
"self": "string"
}
}
}