Create tracking link
A tracking link for an affiliate and offer, with optional sub IDs.
POST
Requires scope offers: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
offerId?integerFormat
int32affiliateId?integerFormat
int32sub1?string|nullsub2?string|nullsub3?string|nullsub4?string|nullsub5?string|nullCreated
application/json- response
data?curl -X POST 'https://trakcrt.com/api/v1/network/tracking-links' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "data": { "url": "string", "code": "string", "offer": { "publicId": 0, "name": "string" }, "affiliate": { "publicId": 0, "name": "string" }, "subIds": { "sub1": "string", "sub2": "string", "sub3": "string", "sub4": "string", "sub5": "string" }, "createdAt": "2019-08-24T14:15:22Z" }}