Buyer API
For a buyer under a TRAKI account. See what you bought and manage your own buying.
The Buyer API is for a buyer that buys calls or leads from a TRAKI account. It lets your own systems see what you bought and manage your own buying, the same as your buyer portal, and nothing else.
- Address:
https://api.traki.io/v1/buyer/… - Keys start:
traki_buyer_ - Who makes keys: the account you buy from. If the account allows it, you can also make keys in your own buyer portal.
What it covers
| Resource | Read | Change | Release |
|---|---|---|---|
| Your key | The key's details and the account it belongs to | Now | |
| Profile | Your details, status, and which fields you may change | 1 | |
| Campaigns | Campaigns you buy from, your price, caps and hours | 1 | |
| Bids and budgets | Current bid, lead rate, budget, caps, hours | Push a bid, rate, budget or hours; pause and resume | 1 |
| Leads | The leads you bought, oldest first, as a feed | Report an outcome | 1 |
| Calls | The calls you bought; recordings if the account shares them | Notes, outcome | 2 |
| Returns and disputes | Your requests and their state | Ask for a return, raise a dispute | 2 |
| Balance and invoices | Balance, ledger, invoices | 2 | |
| Webhooks | Your own endpoints and delivery log | Manage them | 2 |
Rules of this API
- The account decides what you see. Contact details, answers and recordings follow the account's sharing settings, exactly as in your buyer portal.
- Some changes need the account's approval. A change inside the fields the account lets you change applies at once. Anything else becomes a request for the account to approve. A bid above the campaign's ceiling always waits. The answer says which happened:
appliedorpendingApproval. - The account can switch API access off for each buyer.
- Older buyer keys keep working. Keys that start
b3m_stay live for 12 months after the routes that replace them ship.