/webhooksCreate a webhook
Creates a webhook that notifies a configured address about events affecting a file or folder. Supply target, triggers, and address; target.type must identify either a file or folder, and each trigger must be a supported event name. A 201 response returns the configured webhook object.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Webhook configuration containing the target item, notification address, and events that trigger notifications.
A 400 is returned when the request parameters are incorrect. A 403 is returned when the application lacks permission to manage webhooks, and a 404 is returned when the target item cannot be found. A 409 is returned when a webhook already exists for the same target, application, and user; provide a valid target, supported triggers, and notification address.