Create a new webhook subscription.
Webhook subscriptions allow you to receive real-time notifications when events occur in Airweave. When you create a subscription, you specify:
sync.completed, sync.failed)After creation, Airweave will send HTTP POST requests to your URL whenever matching events occur. Each request includes a signature header for verification.
List of event types to subscribe to. Events not in this list will not be delivered to this subscription. Available types: sync.pending, sync.running, sync.completed, sync.failed, sync.cancelled, source_connection.created, source_connection.auth_completed, source_connection.deleted, collection.created, collection.updated, collection.deleted.
Optional custom signing secret for webhook signature verification. If not provided, a secure secret will be auto-generated. Must be at least 24 characters if specified.
Unique identifier for this subscription (UUID format)
When this subscription was created (ISO 8601 format, UTC)
When this subscription was last updated (ISO 8601 format, UTC)
Optional human-readable description of this subscription
Health status of this subscription based on recent delivery attempts. Values: ‘healthy’ (all recent deliveries succeeded), ‘degraded’ (mix of successes and failures), ‘failing’ (consecutive failures beyond threshold), ‘unknown’ (no delivery data yet).