List Members
Lists the contacts in a list, with a total count. Works for both list kinds. A dynamic list's membership is computed from its filter at read time. Use Query List Members instead when you need extra filtering or to choose which properties come back.
Authorization
Authorization In: header
Path Parameters
ID of the project that owns the list.
ID of the contact list to read.
Query Parameters
Only return the membership for this contact.
Field to sort by.
Sort direction. Ignored unless orderBy is set.
Number of members to skip before collecting results.
Maximum number of members to return.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/crm/contact-lists/string/members"{ "count": 0, "data": [ { "id": "string", "createdAt": "string", "updatedAt": "string", "projectId": "string", "distinctId": "string", "email": "string", "toDelete": true, "properties": { "age": 0, "avatar": "http://example.com", "birthday": "string", "createdAt": "string", "description": "string", "displayName": "string", "email": "user@example.com", "firstName": "string", "gender": "string", "id": "string", "lastName": "string", "name": "string", "phone": "string", "title": "string", "username": "string", "website": "string", "$id": "string", "$lastSeen": "string", "$lastIdentifiedAt": "string", "$processedAt": "string", "$unsubscribed": true, "$subscribed": true, "$unsubscribeReason": "manual", "$unsubscribeSource": "string", "$emailValidated": true, "$lastEmailValidatedAt": "string", "$emailValidationResult": "string", "$emailScore": 0, "$stripeCustomerId": "string", "$os": "string", "$browser": "string", "$browserVersion": "string", "$screenHeight": 0, "$screenWidth": 0, "$screenDpi": 0, "$device": "string", "$userAgent": "string", "$ip": "string", "$timezone": "string", "$city": "string", "$country": "string", "$countryCode": "string", "$continent": "string", "$region": "string", "$locale": "string", "$latitude": 0, "$longitude": 0, "$referrer": "string", "$referringDomain": "string", "$initialReferrer": "string", "$initialReferringDomain": "string", "$utmSource": "string", "$utmMedium": "string", "$utmCampaign": "string", "$utmTerm": "string", "$utmContent": "string", "$initialUtmSource": "string", "$initialUtmMedium": "string", "$initialUtmCampaign": "string", "$initialUtmTerm": "string", "$initialUtmContent": "string", "$_toDelete": true, "$_emailScoreActions": "string", "property1": "string", "property2": "string" }, "contactListMemberId": "string" } ]}Delete List
Deletes a contact list. The contacts themselves are untouched. Only the list and its membership records go. Any campaign still targeting this list loses its audience. Cannot be undone.
Get List Member
Fetches a single list-membership record by its own ID. Note this is the membership ID, not the contact's distinct ID. To check whether a given contact is in a list, use List Members with `contactDistinctId`.