List campaigns
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.
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 campaigns.
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/campaigns'{ "data": [ { "id": "cmhd4q2nb0001s8a1x7k3p9vz", "label": "Final expense Florida", "status": "ACTIVE" }, { "id": "cmhd4q9xe0002s8a1f5j8n2tc", "label": "Medicare supplement Texas", "status": "PAUSED" } ], "nextCursor": null}Overview
Every Lead API call, with its parameters, its answers and a panel to try it.
List lead lists GET
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.