Publisher API
For a publisher sending traffic under a TRAKI account. See your own calls, leads, numbers and earnings.
The Publisher API is for a publisher that sends calls or leads to a TRAKI account. It shows your own results and earnings, the same as your publisher portal, and nothing else.
- Address:
https://api.traki.io/v1/publisher/… - Keys start:
traki_publisher_ - Who makes keys: the account you send traffic to. If the account allows it, you can also make keys in your own publisher portal.
What it covers
| Resource | What you can read | Release |
|---|---|---|
| Your key | The key's details and the account it belongs to | Now |
| Profile | Your own details and status | 1 |
| Campaigns | Campaigns you may send to, and your payout terms | 1 |
| Calls | Your own calls, as your portal shows them | 1 |
| Leads | Leads you sent, accepted or rejected, and why | 2 |
| Numbers | Numbers and pools assigned to you | 2 |
| Earnings and payouts | Earnings by day and campaign, statements, payouts | 2 |
| Reports | Grouped reports over your own traffic | 2 |
| Postbacks | Your own webhook endpoints and delivery log (also change them) | 2 |
Rules of this API
- It reads; it does not change the account. The one exception is your own webhooks. Changes go through the account.
- It never shows the buyer side. No buyer names, buyer prices or margins, as in your portal.
- Sending traffic uses its own keys. Pings and lead posts use the posting keys from your publisher portal, built for high volume. A Publisher API key does not send traffic. See send a ping and post a lead.