get https://a.klaviyo.com/api/segments//relationships/tags
If related_resource
is tags
, returns the tag IDs of all tags associated with the given segment ID.
Rate limits:
Burst: 3/s
Steady: 60/m
Scopes:
segments:read
tags:read
Responses
If related_resource
is tags
, returns the tag IDs of all tags associated with the given segment ID.
Rate limits:
Burst: 3/s
Steady: 60/m
Scopes:
segments:read
tags:read
xxxxxxxxxx
curl --request GET \
--url https://a.klaviyo.com/api/segments/id/relationships/tags \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'revision: 2025-01-15'
xxxxxxxxxx
{
"data": [
{
"type": "tag",
"id": "abcd1234-ef56-gh78-ij90-abcdef123456"
}
]
}