Actions36
- List Files
- Search Files
- Download File
- Upload File
- Create Folder
- Rename
- Delete
- Copy / Move
- List Starred Files
- List Recent Files
- List Shared with Me
- List Shared with Others
- Get File Ancestors
- Create Share Link
- List Share Links
- Update Share Permissions
- List Labels
- Create Label
- Update Label
- Delete Label
- Add Label to File
- List Files by Label
- Star File
- Convert Office File
- List Team Folders
- Get Team Folder Members
- Create Webhook
- List Webhooks
- Get Webhook
- Update Webhook
- Delete Webhook
- Get File Thumbnail
- Upload from DSM
- Request Access
- Custom Drive Call
- List Drive APIs
Create Webhook
AI-generatedSummary
Create a webhook in Synology Drive with a specified URL that listens to defined webhook events under an application identifier.
Inputs
- Webhook URL (required) — The URL where the webhook events will be sent.
- Webhook Events (JSON) — A JSON array specifying the events to subscribe to, e.g., ["file.created"]. Defaults to ["file.created"].
- App ID — Identifier of the application registering the webhook, defaulting to "n8n".
Output shape
a single JSON object representing the created webhook resource or an error response
The output contains the API response from the Synology Drive webhook creation call, including details of the created webhook. Errors will be returned if creation fails.
Examples
Example 1: Create a webhook for file creation events
Provide webhookUrl as the destination URL, optionally specify webhookEvents as a JSON array of event types, and set appId if other than default 'n8n'.
