Synology Drive icon

Synology Drive

Synology Drive / FileStation operations

Create Webhook

AI-generated

Summary

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'.

Links

Discussion