List lead lists
The agency's lead lists, newest first, each with the campaign it feeds, so you can find the list id a single lead is posted into. A list that feeds a campaign the key's holder can't reach, or an archived campaign, is left out. 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.
limit?integerHow many rows a page holds, from 1 to 200.
1 <= value <= 20050cursor?stringThe nextCursor of the previous page. Leave it out, or send it empty, for the first page. A cursor whose row has gone since answers 422 with reason stale_cursor: start again without one.
length <= 200One page of lead lists.
application/json- response
data*array<>nextCursor*|Send this as cursor for the next page. Null on the last page.
curl -X GET 'https://www.inyoke.com/api/v1/lists'{ "data": [ { "id": "cmhd4s1pw0006s8a1t9e3h7ud", "name": "Web form leads", "active": true, "campaign": { "id": "cmhd4q2nb0001s8a1x7k3p9vz", "label": "Final expense Florida" }, "createdAt": "2026-10-30T14:05:00.000Z" }, { "id": "cmhd4r8tk0004s8a1m2c6w0qe", "name": "Aged leads October", "active": false, "campaign": null, "createdAt": "2026-10-21T09:12:31.000Z" } ], "nextCursor": null}List campaigns GET
The campaigns the key's holder can reach, in name order, so you can find the campaign id the other calls take. Archived campaigns are left out. Needs the leads:read scope.
Add a lead to a list POST
Adds one lead to an existing lead list and, when the list feeds a campaign, puts it on that campaign with the same duplicate rules and screening as a row of an uploaded file. Safe to retry once the first post has answered: a repeat finds the same lead, files nothing new, and its enrollment reads already_on. Needs the leads:write scope and the Import leads permission.