Search docs
Find a page, section or endpoint

API reference

Segment members

Check one customer, list a segment, or export it in bulk.

Check one customer's membership, list the people in a segment, or export a whole audience.

Check membership#

GET /v1/tenants/{tenant}/workspaces/{ws}/segments/{segment_id}/membership Workspace token

Is one customer in the segment right now?

Query

type string
Identifier type, such as email or phone.
value string
Identifier value.
bash
curl "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/workspaces/my-store/segments/vip-customers/membership?type=email&[email protected]" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"

An unknown identifier returns 200 with in_segment: false. An unknown segment returns 404.

List segment members#

GET /v1/tenants/{tenant}/workspaces/{ws}/segments/{segment_id}/members Workspace token

The people in a segment, with contacts and headline metrics.

Query

limit number
Page size: 50 by default, up to 200.
cursor string
next_cursor from the previous page.
profile_type string
Only members of this type, such as customer.
bash
curl "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/workspaces/my-store/segments/vip-customers/members?limit=50" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"

Export segment members#

GET /v1/tenants/{tenant}/segments/{segment_id}/members Workspace token

Bulk export with profile ids only. Use it for syncing a whole audience.

Query

workspace_id string
The segment's workspace.
cursor string
next_cursor from the previous page.
limit number
Page size: 1,000 by default, up to 5,000.
bash
curl "https://api.breeze.in/cdp/control-plane/v1/tenants/breeze/segments/vip-customers/members?workspace_id=my-store&limit=5000" \
  -H "Authorization: Bearer $BREEZEIQ_TOKEN"