Remove from List
Removes a contact from a static list, identified by the contact's distinct ID. The contact itself is not deleted. Returns null if they were not in the list. Has no lasting effect on a dynamic list, whose membership comes from its filter.
Authorization
Authorization In: header
Path Parameters
ID of the project that owns the list.
ID of the contact list to remove them from.
Query Parameters
Distinct ID of the contact to remove from the list.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://www.saasco.com/api/v2/projects/string/crm/contact-lists/string/members?contactDistinctId=string"{
"id": "string",
"createdAt": "string",
"updatedAt": "string",
"projectId": "string",
"contactListId": "string",
"contactDistinctId": "string"
}{
"code": "BAD_REQUEST",
"message": "Invalid input data",
"issues": []
}{
"code": "UNAUTHORIZED",
"message": "Authorization not provided",
"issues": []
}{
"code": "FORBIDDEN",
"message": "Insufficient access",
"issues": []
}{
"code": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}Add to List
Adds a contact to a static list. Dynamic lists derive their members from a filter, so adding to one has no lasting effect. Change the list's filter instead.
Get Contact Lists
Lists every contact list one contact belongs to: the list-membership view for a contact detail page. The inverse of List Members.