API reference
Segments API
Groups of profiles defined by conditions, kept up to date as people change.
Endpoints
- GETList segments/api/segments
- POSTCreate a segment/api/segments
- GETGet a segment/api/segments/{id}
- PATCHUpdate a segment/api/segments/{id}
- DELDelete a segment/api/segments/{id}
- GETList the flows a segment starts/api/segments/{id}/flow-triggers
- GETList a segment's members/api/segments/{id}/profiles
- GETList a segment's tags/api/segments/{id}/tags
- GETList the ids of the flows a segment starts/api/segments/{id}/relationships/flow-triggers
- GETList the ids of a segment's members/api/segments/{id}/relationships/profiles
- GETList the ids of a segment's tags/api/segments/{id}/relationships/tags
Access
A private key with these scopes reaches every endpoint here. Each endpoint page lists the scopes it needs.
flows:readprofiles:readsegments:readsegments:writetags:readCoverage
11 of the 11 operations in this area of Klaviyo's API are built here.
Complete
Every operation in this area of Klaviyo's API is built.