Call campaigns
List call campaigns, with their buyers and publishers
Needs the campaigns:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>limit?integerRange
1 <= value <= 100Default
25cursor?stringLength
length <= 200updatedSince?stringFormat
date-timeexternalId?stringLength
1 <= length <= 200status?stringValue in
"draft""active""paused""archived"Success
application/json- response
data*array<>hasMore*booleannextCursor*string|nullcurl 'https://api.traki.io/v1/account/call-campaigns' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "code": "string", "name": "string", "vertical": "string", "status": "string", "routingMode": "string", "buyerPrice": "string", "publisherPayout": "string", "billableAfterSec": -9007199254740991, "buyers": [ { "buyer": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "tier": -9007199254740991, "bid": "string", "capDay": -9007199254740991, "capMonth": -9007199254740991 } ], "publishers": [ { "publisher": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "status": "string", "payout": "string" } ], "version": "string", "createdAt": "string", "updatedAt": "string" } ], "hasMore": true, "nextCursor": "string"}Approve a publisher’s application to a campaign POST
Approves the publisher’s pending application to the campaign named in the body, as the portal’s Applications page does. Approval is participation only: no number pool or purchase approval comes with it. 404 when there is no pending application.
Create a call campaign POST
Creates a call campaign as a draft with the account’s own traffic on it. Attach buyers and publishers, then resume it to start routing (resuming a draft activates it once it has what it needs). Counts against the plan’s campaigns (402 limit_reached).