GET
/v1/segments/{segment_id}/membersList segment members
Returns paginated identities currently included in a segment.
Authentication
Requires Authorization: Bearer ${API_KEY}. Create and rotate keys from the TrackLayer dashboard.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
segment_id | string | Yes | Segment identifier. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Pagination cursor. |
Response schema · 200
{
"members": [
{
"identity_id": "idn_123",
"user_id": "u_123"
}
],
"next_cursor": "cur_123"
}Response example
{
"members": [
{
"identity_id": "idn_123",
"user_id": "u_123"
}
],
"next_cursor": "cur_123"
}Code examples
curl https://api.tracklayer.com/v1/segments/seg_123/members \
-H "Authorization: Bearer ${API_KEY}"Try it out
Use the dashboard to create an API key, then run one of the examples above with TRACKLAYER_API_KEY set in your environment.