Skip to main content
GET
cURL

Overview

The Source List API returns performance and statistical data for all lead sources attached to a specific offer campaign. Use it to build reporting dashboards, monitor source-level metrics (leads, conversions, revenue), and identify top-performing or underperforming sources in real time.

Endpoint

Authentication

Include your API token in the Authorization header:

Request Parameters

Path Parameters

Query Parameters

Example Request

Example Response

Error — Campaign Not Found

Error — Unauthorized

Status Codes

Tips

  • Date range filtering: Use from and to to scope the stats to a reporting period. All metrics (leads, conversions, revenue) are calculated within the specified window.
  • Monitoring performance: Poll this endpoint periodically (e.g. every 15 minutes) to refresh a live performance dashboard for your campaign sources.
  • Revenue vs payout: totalRevenue is what buyers paid; totalPayout is what sources were paid. The difference (margin) represents your campaign’s gross profit for that source.
  • Inactive sources: Sources with status: "inactive" are included in the response for historical reference but are not currently receiving leads.

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

date
string
required

Valid date format YYYY-MM-DD

Response

Source data fetched successfully

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

totalRecord
object

Lead's matrix details