get https://a.klaviyo.com/api/profiles//segments/
Get segment memberships for a profile with the given profile ID.
Rate limits:
Burst: 3/s
Steady: 60/m
Scopes:
profiles:read
segments:read
Responses
Get segment memberships for a profile with the given profile ID.
Rate limits:
Burst: 3/s
Steady: 60/m
Scopes:
profiles:read
segments:read
xxxxxxxxxx
curl --request GET \
--url https://a.klaviyo.com/api/profiles/id/segments/ \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/json' \
--header 'revision: 2024-02-15'
xxxxxxxxxx
}
{
"data": [
{
"type": "segment",
"id": "string",
"attributes": {
"name": "Repeat Purchasers",
"created": "2022-11-08T00:00:00+00:00",
"updated": "2022-11-08T00:00:00+00:00",
"is_active": true,
"is_processing": true,
"is_starred": true
},
"links": {
"self": "string"
},
"relationships": {
"profiles": {
"links": {
"self": "string",
"related": "string"
}
},
"tags": {
"links": {
"self": "string",
"related": "string"
}
}
}
}
],