Record conversion
Record a conversion for one of the network's clicks, server to server. Same rules as the /p postback; a duplicate returns 409 with the original.
POST
Requires scope conversions:write.
apiKeyheader
AuthorizationBearer <token>An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.
application/json- body
clickId?stringFormat
uuidevent?string|nullamount?|Format
doublecurrency?string|nulltransactionId?string|nullCreated
application/json- response
data?curl -X POST 'https://trakcrt.com/api/v1/network/conversions' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "clickId": "4eaa325c-78f1-4473-81c7-aa61449b42a3", "offer": { "publicId": 0, "name": "string" }, "affiliate": { "publicId": 0, "name": "string" }, "advertiser": { "publicId": 0, "name": "string" }, "event": "string", "status": "string", "revenue": 0, "payout": 0, "currency": "string", "country": "string", "subIds": { "sub1": "string", "sub2": "string", "sub3": "string", "sub4": "string", "sub5": "string" }, "source": "string", "affClickId": "string", "advertiserTxnId": "string", "rejectionReason": "string", "convertedAt": "2019-08-24T14:15:22Z", "approvedAt": "2019-08-24T14:15:22Z" }}