A list is a group of prospects that you can use to send list emails or to feed engagement programs. Use list membership resources to add and remove prospects to your static email lists, and to learn which prospects belong to which lists. Learn more about list membership in Salesforce Help.
The API to access the List Membership object follows the conventions described in Version 5 Overview.
Retrieve a collection of list memberships following the conventions described in the Version 5 Overview.
Sortable Fields
id
createdAt
updatedAt
listId
Filtering Results
When executing a query, the following parameters can be used to filter the returned results. These parameters can be specified in the request along with any shared parameters defined in Version 5 Overview. When specifying more than one parameter, all parameters must match the record in order for it to be returned in the results.
Parameter
Description
id
Returns any list membership where ID is equal to the given integer value.
idList
Returns any list membership where ID is included in the given list of values.
idGreaterThan
Returns any list membership where ID is greater than the specified value, non-inclusive.
idGreaterThanOrEqualTo
Returns any list membership where ID is greater than or equal to the specified value.
idLessThan
Returns any list membership where ID is less than the specified value, non-inclusive.
idLessThanOrEqualTo
Returns any list membership where ID is less than or equal to the specified value.
createdAt
Returns any list membership where CreatedAt is equal to the given datetime value.
createdAtAfter
Returns any list membership where CreatedAt is after the given datetime value, non-inclusive.
createdAtAfterOrEqualTo
Returns any list membership where CreatedAt is after or equal to the given datetime value.
createdAtBefore
Returns any list membership where CreatedAt is before the given datetime value, non-inclusive.
createdAtBeforeOrEqualTo
Returns any list membership where CreatedAt is before or equal to the given datetime value.
updatedAt
Returns any list membership where UpdatedAt is equal to the given datetime value.
updatedAtAfter
Returns any list membership where UpdatedAt is after the given datetime value, non-inclusive.
updatedAtAfterOrEqualTo
Returns any list membership where UpdatedAt is after or equal to the given datetime value.
updatedAtBefore
Returns any list membership where UpdatedAt is before the given datetime value, non-inclusive.
updatedAtBeforeOrEqualTo
Returns any list membership where UpdatedAt is before or equal to the given datetime value.
listId
Returns any list membership where listId is equal to the given integer value.
listIdGreaterThan
Returns any list membership where listId is greater than the specified value, non-inclusive.
listIdGreaterThanOrEqualTo
Returns any list membership where listId is greater than or equal to the specified value.
listIdLessThan
Returns any list membership where listId is less than the specified value, non-inclusive.
listIdLessThanOrEqualTo
Returns any list membership where listId is less than or equal to the specified value.
prospectId
Returns any list membership where prospectId is equal to the given integer value.
deleted
Determines whether to return deleted records. The value can be false (default), true, or all.