List leads
Returns a paginated list of leads for a company, with optional filtering by product and creation date.
Required permissions:
- lead:basic:read
- member:email:read
- access_pass:basic:read
- member:basic:read
Query parameters
Returns the elements in the list that come after the specified cursor.
Returns the elements in the list that come before the specified cursor.
Returns the first n elements from the list.
Returns the last n elements from the list.
Only return leads created after this timestamp.
Only return leads created before this timestamp.
Filter leads to only those associated with these specific product identifiers.
The unique identifier of the company to list leads for.
Response
A successful response
Example response
{
"data": [
{
"created_at": "2023-12-01T05:00:00.401Z",
"id": "lead_xxxxxxxxxxxxx",
"product": {
"id": "prod_xxxxxxxxxxxxx",
"title": "Pickaxe Analytics"
},
"referrer": "https://twitter.com/whabormarket",
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"email": "john.doe@example.com",
"id": "user_xxxxxxxxxxxxx",
"name": "John Doe",
"username": "johndoe42"
}
}
]
}Changes
Changed in 1 of the 74 revisions of this API.11
- ▲
added the new required
queryrequest parameteraccount_idnew-required-request-parameter
- ●
deleted the
queryrequest parametercompany_idrequest-parameter-removed
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 74 revisions, 1 has no diff computed.