The leads you bought, oldest first, as a feed
Needs the leads:read scope. About scopes
Page with cursor (the nextCursor of the previous page) while hasMore is true; then poll with the last nextCursor to receive new leads. Contact details, answers, prices and consent proof follow what the account shares, as in your portal.
keyAuthorizationBearer <traki_buyer_…>limit?integer1 <= value <= 10025cursor?stringlength <= 200Success
application/json- response
data*array<>hasMore*booleannextCursor*string|nullcurl 'https://api.traki.io/v1/buyer/leads' \ -H "Authorization: Bearer $TRAKI_KEY"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "saleId": "2bab4348-b09e-4b08-a600-8273f0d2907f", "code": "string", "soldAt": "string", "receivedAt": "string", "campaign": { "code": "string", "name": "string" }, "state": "string", "postalCode": "string", "firstName": "string", "lastName": "string", "phone": "string", "email": "string", "price": 0, "outcome": "string", "answers": { "property1": null, "property2": null }, "consent": { "capturedAt": "string", "certificateUrl": "string", "ipAddress": "string" }, "test": true } ], "hasMore": true, "nextCursor": "string"}Change a bid, lead rate, budget or hours, or pause and resume POST
A change inside what the account lets you change applies at once (`applied`); anything else waits for the account (`pendingApproval`). A bid above the campaign ceiling always waits. Send `ifVersion` to refuse a change based on an older value (409).
Report your outcome on a lead you bought POST
Set the outcome stage (its key) and, on a won stage, the value; `null` clears it. The same as the outcome on the lead in your portal.