Webhooks

Create webhook subscription

Register an HTTPS URL for outbound events (e.g. batch.completed). The secret is returned once in the response; store it to verify X-RiskModels-Signature (HMAC-SHA256).

post/webhooks/subscribe

Request

  • Base URL: https://riskmodels.app/api
  • URL: https://riskmodels.app/api/webhooks/subscribe
  • Auth: HTTP bearer

Request body

urlstring uri required

Must use https://

eventsstring[] required
activeboolean
secretstring

Optional custom secret; otherwise server-generated.

Response

Created; secret included in body for verification.

Changes

No recorded changes to this operation across all 1 revision of this API.