Create postback
Add a postback: url (with macros such as {click_id}), optional offerId, event (Conversion, Click, Lead, Rejected, All) and trigger (Every, First, Unique).
POST
Requires scope postbacks: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
url?stringofferId?|Format
int32event?string|nulltrigger?string|nullCreated
application/json- response
data?curl -X POST 'https://trakcrt.com/api/v1/affiliate/postbacks' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "data": { "publicId": 0, "url": "string", "offer": { "publicId": 0, "name": "string" }, "event": "string", "trigger": "string", "status": "string", "createdAt": "2019-08-24T14:15:22Z" }}