Skip to main content
GET
cURL

Overview

The Lead List API returns a paginated list of leads associated with a specific offer campaign. Use it to pull lead records for reporting dashboards, data exports, CRM syncs, or campaign performance reviews. Results include lead details, status, source attribution, and timestamps.

Endpoint

Authentication

Include your API token in the Authorization header:

Request Parameters

Path Parameters

Query Parameters

Example Request

Example Response

Error — Invalid Campaign

Error — Unauthorized

Status Codes

Tips

  • Pagination: Always use the page and limit parameters when working with large campaigns to avoid timeouts. Start at page 1 and increment until you reach all records (totalRecord / limit pages).
  • Date filters: Use from and to together to pull leads for a specific reporting window. Both accept YYYY-MM-DD format and filter on the lead’s creation timestamp in UTC.
  • Source filtering: Use the pid parameter to pull leads from a single source within a campaign — useful when comparing source performance.
  • Status filtering: Combine leadStatus=accepted with date filters for accurate sold-lead counts without pulling rejected or duplicate records.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org-id
string
required

Your organization ID

cid
string
required

Your campaign unique ID

Query Parameters

page
string

Selected page number default 1

limit
string

No of leads in the page, default: 10, min:10, max:100

sortField
string

Sort the list of leads based on field default _id

sortOrder
string

Sort order of list based on sort field default: descending, valid values are desc , asc

date
string
required

For date filter anyone of these combination is rquired ["dateRange","singleDayDate","startDate and endDate"] from below list

dateRange
string

Valid date range format YYYY-MM-DD - YYYY-MM-DD

startDate
string

Valid startDate format YYYY-MM-DD

endDate
string

Valid endDate format YYYY-MM-DD

singleDayDate
string

Valid singleDayDate format YYYY-MM-DD

Response

Lead list successfully received

status
string

Status code of API response

type
string

Type of API response which can be success or error

message
string

Message of API response

leadsList
object

Lead Details Array

totalRecord
string

Total leads count