Retrieves contacts by IDs/emails, or searches by name, email, contact list, or campaign membership.
Documentation Index
Fetch the complete documentation index at: https://developer.lemlist.com/llms.txt
Use this file to discover all available pages before exploring further.
| Mode | Parameters | Response format |
|---|---|---|
| By IDs/emails | idsOrEmails | Array of contacts |
| Search/filter | search, email, listId, and/or notInAnyCampaign | Paginated object with contacts, total, limit, offset |
idsOrEmails, search, email, listId, or notInAnyCampaign is required.
listId parameter to retrieve contacts belonging to a specific list. Get valid list IDs from GET /contacts/lists.
You can combine listId with search or email to further narrow results within a list.
notInAnyCampaign=true to find contacts that are not part of any campaign (orphan contacts). This can be used alone or combined with other filters like search, email, or listId.Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
A comma separated string of either valid contact IDs (MongoDB ObjectId) or valid email addresses. At least one of idsOrEmails, search, email, listId, or notInAnyCampaign is required.
Search contacts by name or other text fields. Must be at least 2 characters. At least one of idsOrEmails, search, email, listId, or notInAnyCampaign is required.
Search contacts by exact email address. At least one of idsOrEmails, search, email, listId, or notInAnyCampaign is required.
Filter contacts by contact list ID (clt_xxx format). Can be combined with search or email, or used alone to list all contacts in a list. Get valid IDs from GET /contacts/lists.
^clt_[a-zA-Z0-9]+$When set to true, only returns contacts that are not part of any campaign (orphan contacts). Can be used alone or combined with other filters such as search, email, or listId.
Maximum number of contacts to return (1–100). Defaults to 20.
1 <= x <= 100Number of contacts to skip for pagination. Defaults to 0.
x >= 0Success
Unique contact identifier
Team identifier the contact belongs to
Contact's calculated full name
Contact's primary email address
Custom fields associated with the contact
List of campaigns the contact is associated with
ID of the user who owns this contact
Contact creation timestamp
ID of the user who created the contact
Whether the contact is globally unsubscribed. When true, no outreach will be sent to this contact.