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