Skip to main content
GET
Returns how many leads a lead list holds, so you can check what an import added before you push the list to a campaign. To read the leads themselves, use Get Leads in a Lead List.
Lead lists belong to the main account, so a client API key owns none: with a client key this endpoint returns 404 Lead list not found, the same as for a list that is not yours. Use the main account’s API key.

Path Parameters

integer
required
The lead list ID (a positive integer)

Query Parameters

string
required
Your SmartLead API key

Response Fields

integer
Total leads in the list
integer
Leads in the list that are active in at least one campaign
integer
The rest: count minus countActive (leads in no campaign, or only in campaigns where they are no longer active)

Response Codes

Success
Request successful
Bad Request
id is not a positive integer, or an unknown query parameter
Unauthorized
Invalid or missing API key
Not Found
No lead list with this ID in your account, or a client API key
Internal Server Error
Server error; retry the request