Skip to Content
TrackCrest Docs

Create offer event

Add a conversion event with its own payout and revenue.

POST
/api/v1/network/offers/{publicId}/events

Requires scope offers:write.

Authorization

apiKey
headerAuthorizationBearer <token>

An API key: pk_company_… (network), pk_aff_… (affiliate) or pk_adv_… (advertiser). X-Api-Key works too.

Path Parameters

publicId*integer
Formatint32

Request Body

application/json
  1. body
eventKey?string
name?string
payout?number
Formatdouble
revenue?|
Formatdouble
isDefault?boolean

Response Body

Created

application/json
  1. response
data?
Example Request
curl -X POST 'https://trakcrt.com/api/v1/network/offers/0/events' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "data": {    "eventKey": "string",    "name": "string",    "payout": 0.1,    "revenue": 0,    "isDefault": true  }}