List a segment's contacts
Newest first, 20 a page unless `limit` says otherwise: a static segment's members, a dynamic one's contacts its rule selects now (what the SDKs' `contacts.list` with a segment id reads).
Newest first, 20 a page unless limit says otherwise: a static segment's members, a dynamic one's contacts its rule selects now (what the SDKs' contacts.list with a segment id reads).
bearerAuthorizationBearer <token>id*stringuuidlimit?integer1–100, default 20.
0 <= valueafter?stringA contact id: the page of older contacts after it.
before?stringA contact id: the page of newer contacts before it.
Success
application/json- response
A list response (object: "list").
data*array<>has_more*booleanobject*stringcurl -X GET 'https://api.exx.sh/segments/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts'{ "data": [ { "created_at": "string", "email": "string", "first_name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "last_name": "string", "unsubscribed": true } ], "has_more": true, "object": "string"}Delete a segment DELETE
Deletes the segment (a static one with its memberships); its contacts stay.
Count a segment's contacts GET
An exx extension: how many contacts the segment has now (a dynamic one's rule evaluated at the request). Past `limits.toml [segments] read_timeout` the answer is 503 with `Retry-After`, never a partial count.