Register a webhook subscription
Registers an outbound endpoint that receives evaluation and decision events (used by the Make.com “Watch verdicts” instant trigger). Events default to approved/rejected/changed when omitted.
https://www.tracira.com/api/subscriptionswebhookTokenAuthorizationBearer <token>Workspace API token, from the Integrations page.
application/json- body
url*stringHTTPS endpoint to receive event payloads.
events?array<>Events to deliver. Evaluation events: pass (no rule fired), flagged (needs a human), error (evaluation failed). Decision events: approved, rejected, changed (a reviewer edited it or asked for a redo), handled (a reviewer took over and did it themselves). Teaching event: taught (a manager left feedback on an output that had already gone out; the payload carries comment, and nothing is regenerated). Unrecognised values are ignored rather than rejected. Defaults to approved, rejected, changed.
source?stringPlatform that registered the subscription (e.g. "make").
This URL was already registered in the workspace: the existing subscription is reused (its events and source are updated) and its id returned. Registering the same URL again never creates a duplicate.
application/json- response
id?stringurl?stringevents?array<string>|nullcurl -X POST 'https://www.tracira.com/api/subscriptions' \ -H 'Content-Type: application/json' \ -d '{ "url": "https://hooks.example.com/tracira", "events": [ "approved", "rejected", "changed" ], "source": "make"}'{ "id": "string", "url": "string", "events": [ "string" ]}List webhook subscriptions GET
Lists the workspace's registered endpoints with delivery health. A legacy outbound webhook configured in the old Notifications card is lazily migrated into a source "custom" subscription on first call (active ones only).
Remove a webhook subscription DELETE
Deletes a registered endpoint. Idempotent - removing an already-deleted subscription still returns ok.