What this endpoint does
Use the Get Leads endpoint to pull your leads out of Convertr and into your own systems, such as a CRM, data warehouse or BI tool.
For each lead you get:
- Contact details - name, email, phone, address and any extra form fields
- Status and quality - whether the lead is valid, its QA result and score
- Campaign and source - the campaign, advertiser, publisher and channel it came from
- Delivery results - whether it was sent to your integrations, and when
- Payouts - the advertiser and publisher values for the lead
You can filter by campaign, date, status and many other fields, so you only get the leads you need.
Before you start
You need three things:
-
Your Convertr subdomain. This is the first part of the web address you use to log in. If you log in at
acme.cvtr.io, your subdomain isacme. In the examples below, replace{enterprise}with it. - API access. Every request must be authenticated.
- Your campaign ID. You can find this in the Convertr platform on the campaign page.
All requests are GET requests to this address:
https://{enterprise}.cvtr.io/api/v4/leadsThere is a limit on how many requests you can make. See Convertr API Rate Limits before you build anything that runs on a schedule.
Your first request
This request gets all leads for campaign 2440 created in April 2026:
https://{enterprise}.cvtr.io/api/v4/leads?campaign.id=2440&createdTs[after]=2026-04-01&createdTs[before]=2026-05-01&itemsPerPage=100&partial=true&page=1Here is what each part does:
| Part | What it does |
|---|---|
campaign.id=2440 |
Only return leads from campaign 2440 |
createdTs[after]=2026-04-01 |
Only leads created on or after 1 April 2026 |
createdTs[before]=2026-05-01 |
Only leads created before 1 May 2026, so all of 30 April is included |
itemsPerPage=100 |
Return up to 100 leads per page |
partial=true |
Makes the request faster (see Paging below) |
page=1 |
Return the first page of results |
Dates use the format YYYY-MM-DD.
Here is the same request as a curl command, ready to run:
curl -G "https://{enterprise}.cvtr.io/api/v4/leads" \
--data-urlencode "campaign.id=2440" \
--data-urlencode "createdTs[after]=2026-04-01" \
--data-urlencode "createdTs[before]=2026-05-01" \
--data-urlencode "itemsPerPage=100" \
--data-urlencode "partial=true" \
--data-urlencode "page=1" \
-H "Accept: application/ld+json" \
-H "Authorization: {your auth header}"Replace {enterprise} with your subdomain, and {your auth header} with your credentials. See how to authenticate.
Getting all your leads (paging)
Results come back in pages. To get every lead, request page 1, then page 2, and so on.
We recommend always adding these two settings:
-
itemsPerPage=100- returns 100 leads per page, so you need fewer requests -
partial=true- skips counting the total number of leads, which makes each request much faster
When to stop: keep increasing page until a page comes back with fewer than 100 leads, or with none. That means you have reached the end.
.../api/v4/leads?campaign.id=2440&itemsPerPage=100&partial=true&page=1 .../api/v4/leads?campaign.id=2440&itemsPerPage=100&partial=true&page=2 .../api/v4/leads?campaign.id=2440&itemsPerPage=100&partial=true&page=3
Tip: add order[id]=asc so leads always come back in the same order. This stops leads moving between pages while you are paging through.
Filtering your leads
Add filters to the end of the address, joined with &. You can combine as many as you like.
Most useful filters
| Filter | Example | Returns |
|---|---|---|
campaign.id |
campaign.id=2440 |
Leads from one campaign |
campaign.id[] |
campaign.id[]=2440&campaign.id[]=2441 |
Leads from several campaigns |
campaign.advertiser.id |
campaign.advertiser.id=33 |
Leads for one advertiser |
publisher.name |
publisher.name=Massive Dynamics |
Leads from one publisher |
createdTs[after] / createdTs[before]
|
createdTs[after]=2026-04-01 |
Leads created in a date range |
updatedTs[after] |
updatedTs[after]=2026-04-19 |
Leads changed since a date (good for regular syncs) |
firstDeliveredTs[after] |
firstDeliveredTs[after]=2026-04-19 |
Leads first delivered since a date |
leadStatus.id |
leadStatus.id=1 |
Leads with a given status (1 = Valid) |
qaResult.id |
qaResult.id=1 |
Leads with a given QA result (1 = Valid) |
integration |
integration=true |
Leads that were sent to your integrations |
email |
email=adam@convertr.io |
Leads with a given email address |
id |
id=167457 |
One specific lead |
advertiserBillable |
advertiserBillable=true |
Leads that are billable to the advertiser |
Lead status IDs
Use these IDs with the leadStatus.id filter. For example, leadStatus.id=1 returns valid leads only.
| ID | Status | What it means |
|---|---|---|
| 1 | Valid | The lead passed all checks |
| 2 | Invalid | The lead failed checks |
| 3 | Caution | The lead has hit 80% of the overall lead score and has not failed any hard fails |
| 4 | Test | The lead has been flagged as a test lead |
Filtering by more than one value
Add [] after the filter name and repeat it. For example, to get leads from two campaigns:
campaign.id[]=2440&campaign.id[]=2441
Working with dates
-
[after]and[before]include the date you give. -
[strictly_after]and[strictly_before]exclude it. - A date with no time means midnight at the start of that day. So to include all of 30 April, use
createdTs[before]=2026-05-01. - You can add a time if you need one, for example
2026-04-19T13:00:00.
Date filters work on createdTs (created), updatedTs (last changed) and firstDeliveredTs (first delivered).
Payout filters
Filter leads by value using advertiserPayout or publisherPayout with [gt] (more than), [gte] (at least), [lt] (less than) or [lte] (at most). For example, advertiserPayout[gte]=50.
Sorting
Use order[field]=asc (lowest first) or order[field]=desc (highest first). You can sort by id, score, advertiserPayout, email and channel.id. For example, order[id]=desc returns the newest leads first.
The full list of filters is in the hydra:search section at the bottom of every response.
Example requests
Each example starts with https://{enterprise}.cvtr.io/api/v4/leads? and ends with &itemsPerPage=100&partial=true&page=1.
All valid leads for a campaign last month
campaign.id=2440&leadStatus.id=1&createdTs[after]=2026-04-01&createdTs[before]=2026-05-01
Leads that have changed since your last sync (useful for a daily job)
updatedTs[after]=2026-04-19T00:00:00&order[id]=asc
All leads for one advertiser across every campaign
campaign.advertiser.id=33
Leads from one publisher on two campaigns
campaign.id[]=2440&campaign.id[]=2441&publisher.name=Massive Dynamics
Look up a single lead
id=167457
Understanding the response
The response is JSON. Your leads are in the hydra:member list, one entry per lead. Fields starting with @ (such as @id and @type) are links and labels used by the API, and you can usually ignore them.
Contact details
| Field | What it means |
|---|---|
id |
Convertr's unique ID for the lead |
firstName, lastName, title
|
The person's name and title |
email, telephone
|
Contact details |
addressLine1 to addressLine4, postcode
|
Postal address |
optIn |
Whether the person opted in to contact |
Extra form fields (leadData)
leadData holds every other field captured for the lead, such as job title, company size, industry, country and the assets downloaded. Each item has:
-
name- the field name, for examplejob_title -
value- the value, for examplePM -
source- where the value came from, for examplepublisher(submitted with the lead),Value Transform(changed by a rule in Convertr) or the name of an integration such asMarketo
The fields you see here depend on how your campaign form is set up.
Status and quality
| Field | What it means |
|---|---|
leadStatus.name |
The lead's current status, for example Valid |
qaResult.name |
The result of Convertr's quality checks |
score / maxScore
|
The lead's quality score and the highest possible score |
hardfail |
true if the lead failed a check that rejects it outright |
leadFlag |
Any flag raised on the lead, or null if none |
Campaign and source
| Field | What it means |
|---|---|
campaign.id, campaign.name
|
The campaign and ID the lead belongs to |
campaign.advertiser.name |
The advertiser running the campaign |
publisher.name |
The publisher that supplied the lead |
channel.name |
The channel, for example Email |
publisherSubId |
The publisher's own tracking ID, if they sent one |
entryPoint, landingPageUrl
|
How and where the lead was captured |
Delivery
| Field | What it means |
|---|---|
integration |
true if the lead was sent to your integrations |
integrationResults |
One entry per delivery attempt, with passed (true or false) and when it ran |
failedJobCount |
How many jobs failed for this lead |
firstIntegrationTs |
When the lead was first sent to an integration |
firstDeliveredTs |
When the lead was first delivered |
Payouts
| Field | What it means |
|---|---|
advertiserPayout |
What the advertiser pays for the lead, in the campaign currency |
publisherPayout |
What the publisher is paid for the lead, in the campaign currency |
baseCurrencyAdvertiserPayout, baseCurrencyPublisherPayout
|
The same values in your account's base currency |
advertiserBillable, publisherBillable
|
Whether the lead counts towards billing |
Dates
createdTs is when the lead was created and updatedTs is when it last changed. All dates include a time zone, for example 2026-04-19T13:43:50+01:00.
Example response
This is a full response for one lead, with one section removed to keep it short. Real responses end with a hydra:search section, which lists every filter you can use. You can find the main filters in the Filtering your leads section above.
{
"@context": "/api/v4/contexts/Lead",
"@id": "/api/v4/leads",
"@type": "hydra:Collection",
"hydra:member": [
{
"@id": "/api/v4/leads/167457",
"@type": "Lead",
"id": 167457,
"publisherSubId": "testSUBID",
"channel": {
"@id": "/api/v4/channels/9",
"@type": "Channel",
"name": "Network"
},
"formHash": null,
"createdTs": "2026-04-19T13:43:50+01:00",
"postcode": "",
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"addressLine4": "",
"title": "",
"firstName": "Adam",
"lastName": "Carter",
"email": "adam@convertr.io",
"telephone": "",
"dob": null,
"sex": "",
"photo": "",
"ip": "176.25.103.77",
"host": null,
"optIn": true,
"doubleOptIn": null,
"integration": true,
"overAllocation": "",
"visible": true,
"processrStatus": 1000,
"score": 120,
"hardfail": false,
"maxScore": 120,
"processingCounter": 1,
"suppressionList": false,
"imported": false,
"firstDeliveredTs": "2026-04-19T13:44:00+01:00",
"emailHash": null,
"fingerprint": "75a953fb28b52a0df94cb6022e779b63",
"baseCurrencyPublisherPayout": "22.73",
"publisherPayout": "25.00",
"baseCurrencyAdvertiserPayout": "90.91",
"advertiserPayout": "100.00",
"publisherBillable": true,
"advertiserBillable": true,
"saleValue": null,
"updatedTs": "2026-04-19T13:44:00+01:00",
"leadData": [
{
"@id": "/api/v4/lead-datas/2274423",
"@type": "LeadData",
"type": "core.data",
"name": "emailDomain",
"value": "@convertr.io",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274424",
"@type": "LeadData",
"type": "core.data",
"name": "createdDate",
"value": "2026-04-19",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274425",
"@type": "LeadData",
"type": "core.data",
"name": "createdYear",
"value": "2026",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274426",
"@type": "LeadData",
"type": "core.data",
"name": "createdMonth",
"value": "Apr",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274427",
"@type": "LeadData",
"type": "core.data",
"name": "country",
"value": "UK",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274428",
"@type": "LeadData",
"type": "core.data",
"name": "job_title",
"value": "PM",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274429",
"@type": "LeadData",
"type": "core.data",
"name": "company_size",
"value": "1 to 50",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274430",
"@type": "LeadData",
"type": "core.data",
"name": "industry",
"value": "SaaS",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274431",
"@type": "LeadData",
"type": "core.data",
"name": "asset_1",
"value": "Dark Matter 101",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274432",
"@type": "LeadData",
"type": "core.data",
"name": "asset_2",
"value": "Why Hypnosis is a No Brainer.",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274433",
"@type": "LeadData",
"type": "core.data",
"name": "rememberMe",
"value": "1",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274434",
"@type": "LeadData",
"type": "core.data",
"name": "leadHash",
"value": "1bd713bf4b12d39fe462655382dfca91",
"source": "publisher"
},
{
"@id": "/api/v4/lead-datas/2274435",
"@type": "LeadData",
"type": "core.data",
"name": "contact",
"value": "Adam Carter",
"source": "Value Transform"
},
{
"@id": "/api/v4/lead-datas/2274436",
"@type": "LeadData",
"type": "core.data",
"name": "first_name",
"value": "Adam",
"source": "Value Transform"
},
{
"@id": "/api/v4/lead-datas/2274437",
"@type": "LeadData",
"type": "core.data",
"name": "last_name",
"value": "Carter",
"source": "Value Transform"
},
{
"@id": "/api/v4/lead-datas/2274438",
"@type": "LeadData",
"type": "core.data",
"name": "marketoId",
"value": "6297",
"source": "Marketo"
},
{
"@id": "/api/v4/lead-datas/2274439",
"@type": "LeadData",
"type": "core.data",
"name": "marketoId",
"value": "6297",
"source": "Marketo Program"
}
],
"campaingSales": [],
"campaign": {
"@id": "/api/v4/campaigns/2440",
"@type": "Campaign",
"id": 2440,
"name": "Master Campaign UAT",
"advertiser": {
"@id": "/api/v4/advertisers/33",
"@type": "Advertiser",
"id": 33,
"name": "Hooli"
}
},
"campaignForm": null,
"globalForm": {
"@id": "/api/v4/forms/8294",
"@type": "Form",
"id": 8294,
"name": "form-8294",
"slug": "form-8294"
},
"publisher": {
"@id": "/api/v4/publishers/11",
"@type": "Publisher",
"id": 11,
"name": "Massive Dynamics"
},
"campaignLink": {
"@id": "/api/v4/campaign-links/1940",
"@type": "CampaignLink",
"channel": {
"@id": "/api/v4/channels/9",
"@type": "Channel",
"name": "Network"
}
},
"trackClick": "/api/v4/track-clicks/19512",
"qaResult": {
"@id": "/api/v4/lead-qa-results/1",
"@type": "LeadQaResult",
"name": "Valid"
},
"leadFlag": null,
"leadStatus": {
"@id": "/api/v4/lead-statuses/1",
"@type": "LeadStatus",
"name": "Valid"
},
"advertiserIO": null,
"integrationResults": [
{
"@id": "/api/v4/processr-job-leads/435792",
"@type": "ProcessrJobLead",
"id": 435792,
"passed": true,
"createdTs": "2026-04-19 13:44:00",
"executedTs": "2026-04-19 13:44:00",
"alwaysDeliver": false
}
],
"whitepaper": null,
"entryPoint": "form",
"landingPageUrl": "https://convertr-mt1.cvtr.io/lp/master-uat",
"failedJobCount": 1,
"leadContactHistory": [],
"leadHash": "1bd713bf4b12d39fe462655382dfca91",
"leadMetadataReason": null,
"firstIntegrationTs": "2026-04-19T13:44:00+01:00"
}
],
"hydra:totalItems": 1,
"hydra:view": {
"@id": "/api/v4/leads?campaign.id=2440&id=167457",
"@type": "hydra:PartialCollectionView"
}
}Tips
-
Always page. Use
itemsPerPage=100&partial=trueand loop through pages until one comes back with fewer than 100 leads. -
Sync changes, not everything. For a regular sync, filter on
updatedTs[after]with the time of your last run, rather than pulling every lead each time. -
Keep the order stable. Add
order[id]=ascwhen paging so no leads are skipped or repeated. - Narrow your search. Filtering by campaign and date makes requests faster than pulling all leads.
-
Store the lead
id. It never changes, so use it to match leads in your own system.