Create webhook endpoint
Changed onCreates a new webhook endpoint. The signing secret is only returned on creation. Called by Crevio's agent, a script or an MCP client, the response has secret: null and secret_secret_id instead: the id of the account secret that holds it, which a person reveals in Crevio, so the value never lands in a transcript.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
The https URL events are POSTed to, on a public host: private, loopback and metadata addresses are refused.
Response
Webhook endpoint created (includes secret, or secret_secret_id when called by the agent, a script or MCP)
Changes
- breaking
the request property
enabled_eventsbecame required - breaking
the request property
urlbecame required - breaking
the
enabled_eventsrequest property's minItems was increased to1
7 more changes in this revision
- breaking