- Category: url shortener
- Auth: API_KEY, OAUTH2
- Composio-managed OAuth available? Yes
- Tools: 17
- Triggers: 0
- Slug:
DUB - Version: 20261101_00
Tools
Bulk Delete Links
Bulk Delete Links
Slug:
DUB_BULK_DELETE_LINKSTool to delete multiple short links in bulk from Dub. Use when you need to remove multiple links at once. Maximum of 100 link IDs per request. Non-existing IDs are silently ignored.Input Parameters
List of link IDs to delete. Maximum of 100 IDs. Non-existing IDs will be ignored. Each ID should be in the format ‘link_XXXXX’ or similar.
Output
Bulk Update Links
Bulk Update Links
Create Domain
Create Domain
Slug:
DUB_CREATE_DOMAINTool to add a domain to a Dub workspace. Use when you need to create a new domain for shortening links. The domain must be verified before it can be used for link shortening.Input Parameters
Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened
Output
Create Tag
Create Tag
Slug:
DUB_CREATE_TAGTool to create a new tag in Dub. Use when you need to organize links by creating custom tags. Tags help categorize and filter links for better organization.Input Parameters
The color of the tag. If not provided, a random color will be assigned from the available options: red, yellow, green, blue, purple, brown, pink.
Output
Delete Domain
Delete Domain
Delete Tag
Delete Tag
Get Link Info
Get Link Info
Slug:
DUB_GET_LINK_INFOTool to retrieve details of a specific short link from Dub. Use when you need to get comprehensive information about a link including its configuration, targeting settings, and performance metrics.Input Parameters
The key of the link to retrieve. E.g. for
d.to/github, the key is github. Must be used together with domain parameter.The domain of the link to retrieve. E.g. for
d.to/github, the domain is d.to. Must be used together with key parameter.Output
Get Links
Get Links
Slug:
DUB_GET_LINKSTool to retrieve a paginated list of links for the authenticated workspace. Use when you need to list links with optional filtering by domain, tags, folder, search terms, or user. Supports pagination and sorting for efficient retrieval of large link collections.Input Parameters
The domain to filter the links by. E.g.
ac.me. If not provided, all links for the workspace will be returned.The search term to filter the links by. The search term will be matched against the short link slug and the destination url.
The field to sort the links by. The default is
createdAt.The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant.
Output
Get Links Count
Get Links Count
Slug:
DUB_GET_LINKS_COUNTTool to retrieve the count of links in workspace with optional filters. Use when you need to get the total number of links matching specific criteria such as domain, tags, folder, or search terms.Input Parameters
The domain to filter the links by. E.g.
ac.me. If not provided, all links for the workspace will be returned.The search term to filter the links by. The search term will be matched against the short link slug and the destination url.
The ID of the tenant that created the link inside your system. If set, will only return links for the specified tenant.
Output
Get Workspace
Get Workspace
List Domains
List Domains
Track Deep Link Open Event
Track Deep Link Open Event
Slug:
DUB_TRACK_OPENTool to track a deep link open event in Dub. Use when you need to record when a user opens your app via a deep link. Supports both direct tracking via deepLink parameter or probabilistic tracking via dubDomain parameter.Input Parameters
The deep link that brought the user to the app. If left blank, Dub will fallback to probabilistic tracking by using the dubDomain parameter to check if there is an associated click event for the user’s IP address. Learn more: https://d.to/ddl
Your deep link custom domain on Dub (e.g. ‘acme.link’). This is used in probabilistic tracking to check if there is an associated click event for the user’s IP address. Learn more: https://d.to/ddl
Output
Update Domain
Update Domain
Slug:
DUB_UPDATE_DOMAINTool to update a domain configuration in Dub. Use when you need to modify domain settings like redirect URLs, placeholder text, archive status, or deep linking configurations.Input Parameters
The domain name to update (e.g., ‘acme.com’). This is the identifier of the domain you want to modify.
Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened
Output
Update Tag
Update Tag
Update Workspace
Update Workspace
Upsert a Link
Upsert a Link
Slug:
DUB_UPSERT_LINKTool to create or update a short link in Dub. Use when you need to create a new short link or update an existing one. If the link already exists (matching domain and key), it will be updated; otherwise, a new link will be created.Input Parameters
Geo targeting information for the short link in JSON format
{[COUNTRY]: https://example.com }. See https://d.to/geo for more informationThe referral tag of the short link. If set, this will populate or override the
ref query parameter in the destination URLThe custom link preview image (og:image). Will be used for Custom Link Previews if
proxy is true. Learn more: https://d.to/ogThe custom link preview title (og:title). Will be used for Custom Link Previews if
proxy is true. Learn more: https://d.to/ogThe custom link preview video (og:video). Will be used for Custom Link Previews if
proxy is true. Learn more: https://d.to/ogThe domain of the short link (without protocol). If not provided, the primary domain for the workspace will be used (or
dub.sh if the workspace has no domains)The prefix of the short link slug for randomly-generated keys (e.g. if prefix is
/c/, generated keys will be in the /c/:key format). Will be ignored if key is providedThe unique IDs of the tags assigned to the short link. Can be a single tag ID string or an array of tag IDs
Allow search engines to index your short link. Defaults to
false if not provided. Learn more: https://d.to/noindexThe unique name of the tags assigned to the short link (case insensitive). Can be a single tag name string or an array of tag names
The ID of the tenant that created the link inside your system. If set, it can be used to fetch all links for a tenant
The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL
The length of the short link slug. Defaults to 7 if not provided. When used with
prefix, the total length of the key will be prefix.length + keyLengthThe ID of the link in your database. If set, it can be used to identify the link in future API requests (must be prefixed with ‘ext_’ when passed as a query parameter). This key is unique across your workspace
The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL
The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL
An array of webhook IDs to trigger when the link is clicked. These webhooks will receive click event data
The custom link preview description (og:description). Will be used for Custom Link Previews if
proxy is true. Learn more: https://d.to/ogDeprecated: Use
dashboard instead. Whether the short link’s stats are publicly accessible. Defaults to false if not providedThe UTM content of the short link. If set, this will populate or override the UTM content in the destination URL
An array of A/B test URLs and the percentage of traffic to send to each URL. Must have 2-4 variants
The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL