Skip to Content
Developers
Leads

The lead log, newest first

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/account/leads

Authorization

key
headerAuthorizationBearer <traki_account_…>

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
cursor?string
Lengthlength <= 200
updatedSince?string
Formatdate-time
receivedAfter?string
Formatdate-time
receivedBefore?string
Formatdate-time
campaignId?string
Formatuuid
buyerId?string
Formatuuid
publisherId?string
Formatuuid

Response Body

Success

application/json
  1. response
data*array<>
hasMore*boolean
nextCursor*string|null
Example Request
curl 'https://api.traki.io/v1/account/leads' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "code": "string",      "campaign": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "externalId": "string",        "name": "string"      },      "buyer": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "externalId": "string",        "name": "string"      },      "publisher": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "externalId": "string",        "name": "string"      },      "receivedAt": "string",      "status": "string",      "price": "string",      "payout": "string",      "firstName": "string",      "lastName": "string",      "email": "string",      "phoneMasked": "string",      "postalCode": "string",      "region": "string",      "rejectReason": "string",      "fields": {        "property1": null,        "property2": null      },      "updatedAt": "string"    }  ],  "hasMore": true,  "nextCursor": "string"}