Skip to main content
Dub

link.deleted

1 min read

Occurs whenever a link is deleted.

Response body parameters

All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.

idstring#
The event ID.
eventstring#
The event type that triggered the webhook (e.g., link.deleted).
createdAtstring#
ISO 8601 timestamp when the webhook event was created.
dataobject#
Event-specific data containing detailed information about the event. The data object for the link.deleted event contains the following parameters:
Show object parameters
idstring#

Unique identifier for the link.

domainstring#

The short link domain (e.g. dub.sh).

keystring#

The short link path/slug.

urlstring#

The destination URL.

userIdstring#

ID of the user who owned the link.

workspaceIdstring#

ID of the workspace the link belonged to.