Three routes. A bearer token from Settings.
The token is created in the signed-in desk under Settings. Send it as Authorization: Bearer. The machine-readable description is /api/openapi. There are no other public write routes.
GET /api/v1/offers
Returns the offers this token can see. An admin token sees the desk’s offers. An affiliate token sees offers opened to that affiliate. An advertiser token sees that advertiser’s offers. Missing or unknown token: 401.
GET /api/v1/clicks?page=1
Fifty clicks per page. An affiliate token is limited to that affiliate. An advertiser token is limited to that advertiser’s offers. Page numbers start at 1.
POST /api/v1/postbacks
Only an advertiser token can record a conversion, and only for that advertiser. click_id is required. txid, goal, status, payout, revenue, and amount are optional. status defaults to approved. A missing click_id is 400 with {"error":"click_id is required."}. A token that is not an advertiser is 401.
curl -X POST https://trakivo.co/api/v1/postbacks \
-H "Authorization: Bearer ADVERTISER_TOKEN" \
-H "Content-Type: application/json" \
-d '{"click_id":"CLICK","txid":"ORD-104","status":"approved","payout":12,"revenue":20}'The JSON body is {"ok":true,"message":"…"} or {"ok":false,"message":"…"}. The HTTP status is the one the matcher returns. Sending the same txid again does not create a second conversion.