webhooks

Create a webhook (e.g. 'https://myapp.com/hook'). URL must be HTTPS. Returns signing secret (save it). Fails if URL not

post/api/v1/webhooks

Request

  • Base URL: https://crispy.sh
  • URL: https://crispy.sh/api/v1/webhooks
  • Auth: HTTP bearer

Request body

urlstring required

HTTPS URL to receive webhook POST requests

eventsstring[] required

Event types to subscribe to. Use list_webhooks to see valid events.

descriptionstring

Optional description for this webhook

signing_format'v1' | 'legacy'

Signature format. Default 'v1' (signed Webhook-Signature envelope). 'legacy' kept for older integrations.

Response

Success

Changes

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