Check an import
An import's status and counts; check every few seconds until status is done, failed or canceled. You can read an import you started, or any import in the agency if you hold the Import leads permission, and any other id answers 404. Needs the leads:read scope.
AuthorizationBearer <sk_live_...>Your API key in an Authorization header: Authorization: Bearer sk_live_.... When a request carries a Bearer key and an x-api-key header, the Bearer key is used.
importId*stringThe importId that starting the import answered with.
The import.
application/json- response
id*stringstatus*ImportStatusqueued: waiting for its turn to run. importing: reading the file and adding its leads. enrolling: putting the leads on the campaign through its screening. done: finished. failed: stopped with an error, which error says. canceled: stopped by a person on the website; the rows already imported stay imported.
"queued""importing""enrolling""done""failed""canceled"totalRows*|The file's rows. Null until the file has been counted.
rowsProcessed*integerinserted*integerNew leads made.
duplicates*integerRows whose number the agency already had, or an earlier row of the file had.
merged*integerExisting leads updated from a duplicate row.
skipped*integerDuplicate rows dropped.
enrolled*integerLeads put on the campaign.
enrollBlocked*integerLeads the campaign's screening refused.
enrollHeld*integerLeads parked until someone on the campaign is licensed for their state.
error*|Why the import failed. Null unless status is failed. Rows the importer rejected aren't listed, because the import doesn't keep them.
warning*|A note about an import that finished.
listId*stringcampaignId*|The campaign the import went onto. Null for an import onto no campaign, and for one onto a campaign the key's holder can't reach.
createdAt*stringdate-timefinishedAt*|date-timecurl -X GET 'https://www.inyoke.com/api/v1/imports/cmhe2f3ja0007lq09p1s5v8xc'{ "id": "cmhe2f3ja0007lq09p1s5v8xc", "status": "importing", "totalRows": 1200, "rowsProcessed": 450, "inserted": 430, "duplicates": 20, "merged": 0, "skipped": 20, "enrolled": 0, "enrollBlocked": 0, "enrollHeld": 0, "error": null, "warning": null, "listId": "cmhd4s1pw0006s8a1t9e3h7ud", "campaignId": "cmhd4q2nb0001s8a1x7k3p9vz", "createdAt": "2026-10-30T14:05:00.000Z", "finishedAt": null}Start an import POST
Starts the website's own import of an uploaded file onto a campaign, in the background; watch it with GET /imports/{importId}. Imports run one at a time in an agency, so a start while another runs answers 409 import_running: retry it later with the same Idempotency-Key. Needs the leads:write scope and the Import leads permission.
Vendor API
Every vendor API call, with its parameters, its answers and a panel to try it.