subscriptions

Route an event type to a webhook (e.g. event='message.received', webhook_id UUID from list_webhooks). Optional filter e.

post/api/v1/subscriptions

Request

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

Request body

webhook_idstring required

Webhook endpoint UUID (from list_webhooks)

eventstring required

Event type to subscribe to (e.g. 'message.received', 'invitation.accepted')

filterobject

Optional filter criteria as key-value pairs, e.g. {"campaign_id": "abc123"}. All values compared as strings.

descriptionstring

Optional human-readable description

Response

Success

Changes

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