get https://a.klaviyo.com/api/campaign-messages//relationships/template
Returns the ID of the related template
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
campaigns:read
templates:read
Responses
Returns the ID of the related template
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
campaigns:read
templates:read
xxxxxxxxxx
curl --request GET \
--url https://a.klaviyo.com/api/campaign-messages/id/relationships/template \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'revision: 2025-01-15'
xxxxxxxxxx
{
"data": {
"type": "template",
"id": "string"
}
}