List Klaviyo segments and lists
Returns the Klaviyo segments and lists synced from the store's connected Klaviyo account. Use a segment's token in a klaviyoSegment rule, and a list's in a klaviyoList rule, when creating a custom audience. Groups since deleted in Klaviyo are included with deleted: true, so an existing rule still resolves to a name. Requires the Klaviyo integration; without it, returns 403.
get
Authorizations
AuthorizationstringRequired
All requests require Authorization: Bearer sl_live_<your_api_key>. Generate a key from the Shoplift admin's API Keys settings page.
Responses
200
OK
application/json
lastSyncAtstring · nullableRequired
403
Forbidden
application/problem+json
429
Too Many Requests
application/problem+json
get/api/public/v1/klaviyo-groups
GET /api/public/v1/klaviyo-groups HTTP/1.1
Host: app.shoplift.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"klaviyoGroups": [
{
"token": "text",
"kind": "text",
"name": "text",
"deleted": true
}
],
"lastSyncAt": null
}Last updated
Was this helpful?