Skip to Content
Developers
Leads

The leads you sent: accepted or rejected, and why

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

Authorization

key
headerAuthorizationBearer <traki_publisher_…>

Query Parameters

limit?integer
Range1 <= value <= 100
Default25
cursor?string
Lengthlength <= 200
updatedSince?string
Formatdate-time
campaignId?string
Formatuuid
includeTest?string
Default"false"
Value in"true""false"

Response Body

Success

application/json
  1. response
data*array<>
hasMore*boolean
nextCursor*string|null
Example Request
curl 'https://api.traki.io/v1/publisher/leads' \  -H "Authorization: Bearer $TRAKI_KEY"
Example Response
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "code": "string",      "receivedAt": "string",      "campaign": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "name": "string"      },      "status": "string",      "accepted": true,      "rejectReason": "string",      "rejectGroup": "string",      "state": "string",      "postalCode": "string",      "phoneMasked": "string",      "payout": 0,      "isTest": true    }  ],  "hasMore": true,  "nextCursor": "string"}