Account API
For the TRAKI customer who owns the account. Read and run your whole account from your own systems.
The Account API is for the TRAKI customer who owns an account: a top-level publisher. With it, your own systems can see everything in the account, and in later releases change it too. It is enough to build your own portal on top of TRAKI.
- Address:
https://api.traki.io/v1/account/… - Keys start:
traki_account_ - Who makes keys: the account's Owner or an Admin, on the Developers page in the portal. Making a key needs a fresh two-factor check.
What it covers
| Resource | Today | Later |
|---|---|---|
| Account | Profile, plan, limits, usage | |
| Call and lead campaigns | Lists, details, who is attached | Create, edit, pause, attach and detach |
| Buyers and publishers | Lists and details | Create, edit, pause, invite |
| Numbers | Inventory and assignments | Assign and release |
| Calls and leads | Logs and details | Notes, tags, return decisions |
| Reports | Call and lead totals by period | Export jobs |
| Statements and payouts | Lists and details | Approve payouts, settle disputes |
| Webhooks, events, audit log | Managed in the portal | Managed from the API |
Some things never open to a key: team members and roles, two-factor, passwords, the plan and payment methods, the account's own API keys, the custom domain and anything in TRAKI's own administration.
Keeping your website and TRAKI in step
If you keep a copy of your account on your own website, TRAKI stays the master copy:
- Read each list in full once, then ask only for what changed with
updatedSince. - Use webhooks to hear about calls, leads and money within seconds.
- Every buyer and publisher can carry your own ID as
externalId, and lists can filter by it, so your records and TRAKI's line up. - Calls and leads name their campaign, buyer and publisher with ID,
externalIdand name, so your copy needs no extra lookups.