All routes
Every route of the Account API, with the scope it needs. Each links to its own page.
Addresses start https://api.traki.io/v1/account/. Send your key in the Authorization header on every request.
| Route | What it answers | Scope |
|---|---|---|
GET /v1/account/key | The key making this request | None |
POST /v1/account/payouts/{id}/approve | Approve a payout | money:write |
POST /v1/account/payouts/{id}/hold | Hold a payout | money:write |
POST /v1/account/payouts/{id}/release | Release a held payout | money:write |
POST /v1/account/disputes/{id}/settle | Settle a buyer’s dispute | money:write |
GET /v1/account/numbers/available | Search numbers for sale | numbers-purchase:read |
POST /v1/account/numbers/orders | Order numbers (costs money) | numbers-purchase:write |
POST /v1/account/numbers/{id}/carrier-release | Give a number back to the carrier | numbers-purchase:write |
GET /v1/account/call-campaigns/{id}/routing | A call campaign’s routing and bidding settings | routing:read |
PATCH /v1/account/call-campaigns/{id}/routing | Change a call campaign’s routing | routing:write |
GET /v1/account/call-flows | List call flows | routing:read |
GET /v1/account/call-flows/{id} | One call flow, with its draft | routing:read |
PATCH /v1/account/call-flows/{id} | Change a call flow’s name, description or draft | routing:write |
POST /v1/account/call-flows/{id}/publish | Publish a call flow’s draft | routing:write |
GET /v1/account/lead-campaigns | List lead campaigns, with their buyers and publishers | campaigns:read |
POST /v1/account/lead-campaigns | Create a lead campaign | campaigns:write |
GET /v1/account/lead-campaigns/{id} | One lead campaign | campaigns:read |
PATCH /v1/account/lead-campaigns/{id} | Change a lead campaign | campaigns:write |
POST /v1/account/lead-campaigns/{id}/pause | Pause a lead campaign | campaigns:write |
POST /v1/account/lead-campaigns/{id}/resume | Resume or activate a lead campaign | campaigns:write |
POST /v1/account/lead-campaigns/{id}/buyers | Attach a buyer to a lead campaign | campaigns:write |
DELETE /v1/account/lead-campaigns/{id}/buyers/{buyerId} | Detach a buyer from a lead campaign | campaigns:write |
POST /v1/account/lead-campaigns/{id}/publishers | Attach a publisher to a lead campaign | campaigns:write |
DELETE /v1/account/lead-campaigns/{id}/publishers/{publisherId} | Detach a publisher from a lead campaign | campaigns:write |
GET /v1/account | The account: profile, current limits and API usage | account:read |
GET /v1/account/buyers | List buyers | buyers:read |
POST /v1/account/buyers | Create a buyer | buyers:write |
GET /v1/account/buyers/{id} | One buyer | buyers:read |
PATCH /v1/account/buyers/{id} | Change a buyer | buyers:write |
GET /v1/account/publishers | List publishers | publishers:read |
POST /v1/account/publishers | Create a publisher | publishers:write |
GET /v1/account/publishers/{id} | One publisher | publishers:read |
PATCH /v1/account/publishers/{id} | Change a publisher | publishers:write |
GET /v1/account/call-campaigns | List call campaigns, with their buyers and publishers | campaigns:read |
POST /v1/account/call-campaigns | Create a call campaign | campaigns:write |
GET /v1/account/call-campaigns/{id} | One call campaign | campaigns:read |
PATCH /v1/account/call-campaigns/{id} | Change a call campaign | campaigns:write |
GET /v1/account/numbers | List the account’s numbers and their assignments | numbers:read |
GET /v1/account/numbers/{id} | One number | numbers:read |
GET /v1/account/calls | The call log, newest first | calls:read |
GET /v1/account/calls/{id} | One call | calls:read |
GET /v1/account/leads | The lead log, newest first | leads:read |
GET /v1/account/leads/{id} | One lead | leads:read |
GET /v1/account/statements | Buyer statements and publisher payout statements | money:read |
GET /v1/account/statements/{id} | One statement | money:read |
GET /v1/account/payouts | Payouts to publishers | money:read |
GET /v1/account/payouts/{id} | One payout | money:read |
GET /v1/account/reports/calls | Call totals over a period, grouped by day, campaign, buyer or publisher | reports:read |
GET /v1/account/reports/leads | Lead totals over a period, grouped by day, campaign, buyer or publisher | reports:read |
POST /v1/account/buyers/by-external-id/{externalId} | Create or update a buyer by the account’s own id | buyers:write |
POST /v1/account/buyers/{id}/pause | Pause a buyer | buyers:write |
POST /v1/account/buyers/{id}/resume | Resume a paused buyer | buyers:write |
POST /v1/account/publishers/by-external-id/{externalId} | Create or update a publisher by the account’s own id | publishers:write |
POST /v1/account/publishers/{id}/pause | Pause a publisher | publishers:write |
POST /v1/account/publishers/{id}/resume | Resume a paused publisher | publishers:write |
POST /v1/account/publishers/{id}/approve | Approve a publisher’s application to a campaign | publishers:write |
POST /v1/account/call-campaigns/{id}/pause | Pause a call campaign | campaigns:write |
POST /v1/account/call-campaigns/{id}/resume | Resume or activate a call campaign | campaigns:write |
POST /v1/account/call-campaigns/{id}/buyers | Attach a buyer to a call campaign | campaigns:write |
DELETE /v1/account/call-campaigns/{id}/buyers/{buyerId} | Detach a buyer from a call campaign | campaigns:write |
POST /v1/account/call-campaigns/{id}/publishers | Attach a publisher to a call campaign | campaigns:write |
DELETE /v1/account/call-campaigns/{id}/publishers/{publisherId} | Detach a publisher from a call campaign | campaigns:write |
POST /v1/account/numbers/{id}/assign | Assign a number to a campaign and publisher | numbers:write |
POST /v1/account/numbers/{id}/release | Take a number off its campaign (and publisher) | numbers:write |
GET /v1/account/events | Every event of the last 30 days, oldest first, for catching up after downtime | events:read |
GET /v1/account/audit | Who changed what in the account, newest first | audit:read |
GET /v1/account/webhooks | Webhook endpoints | webhooks:read |
POST /v1/account/webhooks | Add a webhook endpoint; its signing secret is answered once | webhooks:write |
PATCH /v1/account/webhooks/{id} | Change an endpoint’s address or events | webhooks:write |
DELETE /v1/account/webhooks/{id} | Remove an endpoint | webhooks:write |
POST /v1/account/webhooks/{id}/roll-secret | Roll the signing secret; the old one keeps signing for 24 hours | webhooks:write |
POST /v1/account/webhooks/{id}/pause | Pause an endpoint (events are kept) | webhooks:write |
POST /v1/account/webhooks/{id}/resume | Resume a paused endpoint | webhooks:write |
GET /v1/account/webhooks/{id}/deliveries | An endpoint’s delivery log | webhooks:read |
POST /v1/account/webhook-deliveries/{id}/replay | Send a delivered or failed event again | webhooks:write |
GET /v1/account/suppression | Blocked caller numbers | suppression:read |
POST /v1/account/suppression | Block caller numbers, for the account or one campaign | suppression:write |
GET /v1/account/suppression/check | Is a number blocked? | suppression:read |
DELETE /v1/account/suppression/{id} | Unblock a number | suppression:write |
GET /v1/account/lead-orders | List lead orders | orders:read |
POST /v1/account/lead-orders | Place a lead order for one of your buyers | orders:write |
GET /v1/account/lead-orders/{id} | Get a lead order | orders:read |
PATCH /v1/account/lead-orders/{id} | Change a lead order’s terms | orders:write |
POST /v1/account/lead-orders/{id}/actions | Pause, resume, hold, release, cancel or mark a lead order paid | orders:write |
GET /v1/account/lead-wallets | List buyers’ lead wallets | orders:read |
GET /v1/account/buyers/{buyerId}/lead-wallet | Get a buyer’s lead wallet | orders:read |
GET /v1/account/buyers/{buyerId}/lead-wallet/entries | A buyer’s wallet ledger, newest first | orders:read |
POST /v1/account/buyers/{buyerId}/lead-wallet/entries | Add cash or credit to a buyer’s wallet, or take it back | orders:write |
GET /v1/account/lead-payments | List lead payments | orders:read |
GET /v1/account/partner-keys | The Buyer API and Publisher API keys of the account’s parties (never their secrets) | partner-keys:read |
POST /v1/account/partner-keys | Issue a key for one of the account’s buyers or publishers; the key is answered once | partner-keys:write |
POST /v1/account/partner-keys/{id}/roll | Roll a partner key: a new secret, the old one working for the chosen overlap | partner-keys:write |
POST /v1/account/partner-keys/{id}/revoke | Revoke a partner key; it stops working at once | partner-keys:write |
POST /v1/account/portal-sessions | A short-lived token for one buyer or publisher, for your own web page to use | None |
DELETE /v1/account/portal-sessions/{id} | End a portal session at once | None |
This list is built from the same route declarations that run the API, so a new route appears here when it ships. The changelog says what changed.