Skip to main content

API key

All requests require the Authorization header.
1

Get your key

Go to partner.onlytraffic.com/docs/api_marketer and create an API key.
2

Add the header

Include the key in every request:
Authorization: your-api-key-here

Base URL

https://partner.onlytraffic.com

Example request

curl -X POST "https://partner.onlytraffic.com/api/marketer?do=campaigns" \
  -H "Authorization: your-api-key-here" \
  -H "Content-Type: application/json" \
  -d '{"limit": 10}'

Errors

All responses return HTTP 200. Check the status field for the actual result.
Error codeDescription
422Request contains invalid or missing parameters
Error codeDescription
429Too many requests — wait and retry