List the leads of a campaign with their state
GET
/v1/campaigns/{id}/leadsPath parameters
Section titled “Path parameters”idnumberrequired
Query parameters
Section titled “Query parameters”limitnumberoptionalDefault:25cursorstringoptionalstatestringoptionalAllowed values:pending,active,awaiting_accept,paused,finished,failed,stopped,excluded
Returns
Section titled “Returns”Schema shown for 200 · application/json
dataobject[]Show array — 11 properties
idnumberleadIdnumberaccountIdone of 2 variantsShow 2 variants
- number
statestringAllowed values:pending,active,awaiting_accept,paused,finished,failed,stopped,excludedconnectionstringAllowed values:none,sent,acceptedrepliedbooleanmessagesSentnumbererrorstringleadobjectShow 6 properties
publicIdstringprofileUrlstringfirstNamestringlastNamestringheadlinestringcompanyNamestring
lastActionAtone of 2 variantsShow 2 variants
- string
finishedAtone of 2 variantsShow 2 variants
- string
nextCursorstring