Skip to main content
Dub logo
  • Category: url shortener
  • Auth: API_KEY, OAUTH2
  • Composio-managed OAuth available? Yes
  • Tools: 17
  • Triggers: 0
  • Slug: DUB
  • Version: 20261101_00

Tools

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

The logo of the domain
string
required
Name of the domain (e.g., yourbrand.com)
boolean
Whether to archive this domain. False will unarchive a previously archived domain
assetLinks.json configuration file (for deep link support on Android)
string
Redirect users to a specific URL when any link under this domain has expired
string
Redirect users to a specific URL when a link under this domain doesn’t exist
string
Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened
string
apple-app-site-association configuration file (for deep link support on iOS)

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
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

string
required
The name of the tag to create. Must be between 1 and 50 characters.
string ("red" | "yellow" | "green" | "blue" | "purple" | "brown" | "pink")
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

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DUB_DELETE_DOMAINTool to delete a domain from your Dub workspace. Use when you need to permanently remove a domain. The domain must exist and be owned by your workspace.

Input Parameters

string
required
The domain name to delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DUB_DELETE_TAGTool to delete a tag from Dub. Use when you need to remove a tag that is no longer needed.

Input Parameters

string
required
The ID of the tag to delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DUB_GET_TAGSTool to retrieve a list of tags from Dub. Use when you need to fetch all tags or search for specific tags by name or IDs. Supports pagination and sorting by name or creation date.

Input Parameters

string
IDs of tags to filter by.
integer
The page number for pagination.
string
The search term to filter the tags by.
string ("name" | "createdAt")
The field to sort the tags by.
integer
The number of items per page.
string ("asc" | "desc")
The order to sort the tags by.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DUB_GET_WORKSPACETool to retrieve detailed information for a specific workspace. Use when you need to get workspace details including plan, usage limits, domains, users, and configuration settings.

Input Parameters

string
required
The ID or slug of the workspace.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DUB_LIST_DOMAINSTool to retrieve a list of domains for the authenticated workspace. Use when you need to view all domains, search for specific domains, or filter domains by archived status. Supports pagination for large result sets.

Input Parameters

integer
The page number for pagination.
string
The search term to filter the domains by.
boolean
Whether to include archived domains in the response. Defaults to false if not provided.
integer
The number of items per page.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
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

string
The logo of the domain (URL or data URI)
string
required
The domain name to update (e.g., ‘acme.com’). This is the identifier of the domain you want to modify.
boolean
Whether to archive this domain. Set to false to unarchive a previously archived domain
string
New name of the domain if you want to rename it
assetLinks.json configuration file (for deep link support on Android)
string
Redirect users to a specific URL when any link under this domain has expired
string
Provide context to your teammates in the link creation modal by showing them an example of a link to be shortened
string
Redirect users to a specific URL when a link under this domain doesn’t exist
string
apple-app-site-association configuration file (for deep link support on iOS)

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DUB_UPDATE_TAGTool to update an existing tag by ID. Use when you need to change the name or color of a tag.

Input Parameters

string
required
The ID of the tag to update.
string
The name of the tag to update.
string ("red" | "yellow" | "green" | "blue" | "purple" | "brown" | "pink")
The color of the tag. Must be one of: red, yellow, green, blue, purple, brown, pink.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: DUB_UPDATE_WORKSPACETool to update workspace settings in Dub. Use when you need to modify workspace name, slug, logo, or conversion tracking settings.

Input Parameters

string
URL of the workspace logo image.
string
The name of the workspace. Must be between 1 and 32 characters.
string
The slug of the workspace. Must be between 3 and 48 characters.
string
required
The ID or slug of the workspace to update.
boolean
Whether the workspace has conversion tracking enabled automatically for new links (d.to/conversions).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not