Skip to main content
GET
List Leads

Headers

Authorization
string
required

Bearer [access_token]

Query Parameters

stage
string

Search for lead by pipeline stage names.

source
string

Search for lead by source name.

phone
string

Precise search for lead by phone number. Example: 3479033333

email
string

Precise search for lead by email address.

assignedUserId
integer<int64>

Search for contacts by user that is assigned to them.

contacted
boolean

Search for contacts by if they have or have not been contacted.

groups
string

Search for lead by group names. deprecated, use segments instead.

segments
string

Search for lead by segment names.

allTags
string

Search for lead with all tag names.

anyTags
string

Search for lead with any tag names.

groupIds
integer<int64>

Search for lead by office ids.

querySubGroup
boolean

Query sub group leads or not

scrollId
string

Scroll ID for the search. You can then use the scroll ID to retrieve the next batch of results for the request.

offset
integer

Start index of the responded leads

limit
integer

Quantitative limitation of responded leads, range: [1, 100]

sort
string

The sort order can be one of the following: Default, LastContact, LastCall, LastEmail, LastActivity, CreateTime, Inquries, DeleteTime, AssignTime, Score, Activity, Communication, HasDrip, HasAlert, Task, Lender, ActivitySearch, ActivityViews, ActivityFavorites, DripStatus, DripOpenRate, AlertFrequency, AlertOpenRate, SCOREV2 or SmartPlanStatus

desc
boolean

Descending sort(true) or ascending sort(false)

languages
string

Search for lead with any languages (abbreviation)

preciseSearchFlag
boolean

Whether to precise search for leads based on email or phone

roleAssigneeFilters
string

[{"roleName":"Lead assign role name","assigneeToIds":[111,222]}]

key
string

Search by name, phone or email

otherFilters
string
default:""

URL-encoded JSON object with extra filter criteria. Supported keys: leadIds (array of lead IDs), regStartTime and regEndTime (lead creation time, epoch milliseconds), withTrash (boolean). Invalid JSON or a wrong value type makes the whole value ignored, so the request runs without these filters. See Listing leads in the Leads concept page.

returnFields
string
default:""

Comma-separated source paths to load for each lead, for example data.lead,data.emailList,data.phoneList. These are search-document paths, not response field names: a value such as leadId matches nothing and returns no leads. Always include data.lead, and include data.callOptIn,data.textOptIn,data.emailOptIn if you read cannotCall, cannotText or cannotEmail. Fields that are not loaded come back empty. See Listing leads in the Leads concept page for the path list.

Response

Page of matching leads with pagination metadata.

get_metadata
object

Pagination metadata (offset, limit, total, collection).

leads
object[]