Skip to Content
Developers
Leads

The leads you bought, oldest first, as a feed

Needs the leads:read scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/buyer/leads

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.

Authorization

key
headerAuthorizationBearer <traki_buyer_…>

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
cursor?string
Lengthlength <= 200

Response Body

Success

application/json
  1. response
data*array<>
hasMore*boolean
nextCursor*string|null
Example Request
curl 'https://api.traki.io/v1/buyer/leads' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "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"}