/segments/{id}/contacts
GET
Newest first, as on Resend, with cursor pagination: after takes the last id of a page and pages toward older items, before takes the first id and pages back toward newer ones.
id*stringFormat
uuidlimit?integerPage size, 1-100 (default 20)
Range
1 <= value <= 100after?stringCursor: id of the last item of the current page; returns the next page. Must be an id this list returned; there is no sentinel value.
Format
uuidbefore?stringCursor: id of the first item of the current page; returns the previous page; same rule as after.
Format
uuidinclude?stringMillionSend extension: comma-separated facets attached to every item — properties (the {type, value} map GET /contacts/{id} returns) and topics (the rows GET /contacts/{id}/topics returns). Omitted, each item has the Resend shape.
Contacts the segment resolves to
application/json- response
object*"list"Value in
"list"data*array<>has_more*booleancurl -X GET 'https://api.millionsend.com/segments/497f6eca-6276-4993-bfeb-53cbbbba6f08/contacts'Example Response
{ "object": "list", "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "email": "string", "first_name": "string", "last_name": "string", "created_at": "string", "unsubscribed": true, "properties": { "property1": { "type": "string", "value": "string" }, "property2": { "type": "string", "value": "string" } }, "topics": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "subscription": "opt_in", "explicit": true, "visibility": "public" } ] } ], "has_more": true}