Create webhook
Subscribe a URL to events. The signing secret is returned once: verify X-Signature (t=<unix>,v1=<hex HMAC-SHA256 of "t.body">) on every delivery.
POST
Requires scope webhooks: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?stringevents?array<string>Created
application/json- response
data?curl -X POST 'https://trakcrt.com/api/v1/advertiser/webhooks' \ -H 'Content-Type: application/json' \ -d '{}'Example Response
{ "data": { "webhook": { "publicId": 0, "url": "string", "events": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "lastSuccessAt": "2019-08-24T14:15:22Z", "lastFailureAt": "2019-08-24T14:15:22Z" }, "secret": "string" }}