Webhooks
Register the webhook endpoint
One endpoint per org; POSTing again replaces it and rotates the secret. The secret appears in this response and never again.
x-api-key<token>
Your API key. Issued and revoked from the TrustPixel dashboard; the gateway resolves it to an owning organization on every request.
In: header
Header Parameters
x-request-id?string
Correlation id echoed to the upstream service and returned on the response. Generated as req_<uuid> when omitted.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/watcher/webhooks" \ -H "Content-Type: application/json" \ -d '{ "url": "stringst" }'{}