Skip to content

Create Webhook entity.

POST/api/webhooks/

Creates a new Webhook entity. The webhook receives a POST request for every subscribed event. The response contains the generated secret used to sign every delivery — store it to verify that deliveries come from Recranet. The URL must be https and publicly resolvable.

Required
Yes
Content type
  • application/json
  • descriptionstringoptional
  • urlstringrequired
  • eventsstring[]optional
  • activebooleanoptional
    Default: true

Schema shown for 200 · application/json

  • idnumber
  • descriptionstringoptional
  • urlstring
  • secretstring
  • eventsstring[]optional
  • activebooleanoptional
    Default: true