Skip to main content
Dub

link.updated

1 min read

Occurs whenever a link is updated.

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.updated).
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.updated 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.

qrCodestring#

URL to the QR code image for this link.

userIdstring#

ID of the user who owns the link.

workspaceIdstring#

ID of the workspace the link belongs to.

clicksnumber#

Total click count for the link.

createdAtstring#

ISO 8601 timestamp when the link was created.

updatedAtstring#

ISO 8601 timestamp when the link was last updated.