Banner
Dub logoDub
by Dub

Dub is the link management platform for modern marketing teams.

Updated 6 hours ago
Official
Go to documentation
npx @mintlify/mcp add dub --client claude

Setup

Run the command above and follow the instructions in the CLI.

If you run into any issues, please don't hesitate to contact support.

weekly installs

78

Available tools

search

Search across the Dub documentation to fetch relevant context for a given query

create-a-new-link

Create a new link for the authenticated workspace.

retrieve-a-list-of-links

Retrieve a paginated list of links for the authenticated workspace.

retrieve-links-count

Retrieve the number of links for the authenticated workspace.

retrieve-a-link

Retrieve the info for a link.

update-a-link

Update a link for the authenticated workspace. If there's no change, returns it as it is.

delete-a-link

Delete a link for the authenticated workspace.

bulk-create-links

Bulk create up to 100 links for the authenticated workspace.

bulk-update-links

Bulk update up to 100 links with the same data for the authenticated workspace.

bulk-delete-links

Bulk delete up to 100 links for the authenticated workspace.

upsert-a-link

Upsert a link for the authenticated workspace by its URL. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.

retrieve-analytics-for-a-link--a-domain--or-the-authenticated-workspace

Retrieve analytics for a link, a domain, or the authenticated workspace. The response type depends on the `event` and `type` query parameters.

retrieve-a-list-of-events

Retrieve a paginated list of events for the authenticated workspace.

create-a-new-tag

Create a new tag for the authenticated workspace.

retrieve-a-list-of-tags

Retrieve a list of tags for the authenticated workspace.

update-a-tag

Update a tag in the workspace.

delete-a-tag

Delete a tag from the workspace. All existing links will still work, but they will no longer be associated with this tag.

create-a-new-folder

Create a new folder for the authenticated workspace.

retrieve-a-list-of-folders

Retrieve a list of folders for the authenticated workspace.

update-a-folder

Update a folder in the workspace.

delete-a-folder

Delete a folder from the workspace. All existing links will still work, but they will no longer be associated with this folder.

create-a-domain

Create a domain for the authenticated workspace.

retrieve-a-list-of-domains

Retrieve a list of domains associated with the authenticated workspace.

update-a-domain

Update a domain for the authenticated workspace.

delete-a-domain

Delete a domain from a workspace. It cannot be undone. This will also delete all the links associated with the domain.

track-a-lead

Track a lead for a short link.

track-a-sale

Track a sale for a short link.

retrieve-a-list-of-customers

Retrieve a list of customers for the authenticated workspace.

create-a-customer

[Deprecated]: Customer creation can only be done via tracking a lead event. Use the /track/lead endpoint instead.

retrieve-a-customer

Retrieve a customer by ID for the authenticated workspace.

update-a-customer

Update a customer for the authenticated workspace.

delete-a-customer

Delete a customer from a workspace.

create-a-new-partner

Create a new partner for a program. If partner exists, automatically enrolls them.

create-a-link-for-a-partner

Create a new link for a partner that is enrolled in your program.

retrieve-a-partner-s-links

Retrieve a partner's links by their partner ID or tenant ID.

upsert-a-link-for-a-partner

Upsert a link for a partner that is enrolled in your program. If a link with the same URL already exists, return it (or update it if there are any changes). Otherwise, a new link will be created.

retrieve-analytics-for-a-partner

Retrieve analytics for a partner within a program. The response type vary based on the `groupBy` query parameter.

update-a-sale-for-a-partner

Update an existing sale amount. This is useful for handling refunds (partial or full) or fraudulent sales.

retrieve-a-workspace

Retrieve a workspace for the authenticated user.

update-a-workspace

Update a workspace by ID or slug.

create-a-new-referrals-embed-token

Create a new referrals embed token for the given partner/tenant.

retrieve-a-qr-code

Retrieve a QR code for a link.

retrieve-the-metatags-for-a-url

Retrieve the metatags for a URL.

create-a-new-link

Create a new link for the authenticated workspace.

retrieve-a-list-of-links

Retrieve a list of links for the authenticated workspace. The list will be paginated and the provided query parameters allow filtering the returned links.

retrieve-the-number-of-links

Retrieve the number of links for the authenticated workspace. The provided query parameters allow filtering the returned links.

retrieve-a-link

Retrieve the info for a link from their domain and key.

edit-a-link

Edit a link for the authenticated workspace.

delete-a-link

Delete a link for the authenticated workspace.

bulk-create-links

Bulk create up to 100 links for the authenticated workspace.

retrieve-a-qr-code

Retrieve a QR code for a link.

retrieve-clicks-analytics

Retrieve the number of clicks for a link, a domain, or the authenticated workspace.

retrieve-timeseries-analytics

Retrieve the number of clicks for a link, a domain, or the authenticated workspace over a period of time.

retrieve-country-analytics

Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.

retrieve-city-analytics

Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.

retrieve-device-analytics

Retrieve the top devices by number of clicks for a link, a domain, or the authenticated workspace.

retrieve-browser-analytics

Retrieve the top browsers by number of clicks for a link, a domain, or the authenticated workspace.

retrieve-os-analytics

Retrieve the top OS by number of clicks for a link, a domain, or the authenticated workspace.

retrieve-referer-analytics

Retrieve the top referers by number of clicks for a link, a domain, or the authenticated workspace.

retrieve-top-links

Retrieve the top links by number of clicks for a domain or the authenticated workspace.

retrieve-top-urls

Retrieve the top URLs by number of clicks for a given short link.

retrieve-a-list-of-workspaces

Retrieve a list of workspaces for the authenticated user.

create-a-workspace

Create a new workspace for the authenticated user.

retrieve-a-workspace

Retrieve a workspace for the authenticated user.

create-a-new-tag

Create a new tag for the authenticated workspace.

retrieve-a-list-of-tags

Retrieve a list of tags for the authenticated workspace.