Dub integration
Dub.co is a modern link management platform for creating, tracking, and optimizing short links. Create branded short URLs, track click analytics with detailed geographic and device data, manage QR codes, set up custom domains, and build link-in-bio pages. Features advanced analytics, team collaboration, API access, and integrations with popular tools. Perfect for marketers, content creators, SaaS products, and businesses needing professional link management.
Say what should happen.
The workflow builds itself.
Common Dub use cases
- folder management
- cleaning up test links
- tag management
- workspace organization
- event auditing
- folder cleanup
- renaming folders
- signup attribution
- revenue attribution
- dashboard statistics
What you can do with Dub
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Link, 10 operations
bulk_create_linksBulk create linksPOSTCreates multiple Dub short links in a single API request for efficient batch operations.bulk_delete_linksBulk delete linksDELETEDeletes up to 100 links in a single API request for efficient batch cleanup.bulk_update_linksBulk update linksPATCHBulk updates up to 100 links with the same data in a single API request.create_linkCreate linkPOSTCreates a new short link in Dub with optional custom slug, expiration, password protection, and geo-targeting capabilities.delete_linkDelete linkDELETEPermanently deletes a Dub short link. The short URL will no longer redirect to the destination.get_linkGet linkGETRetrieves detailed information about a Dub short link including click counts, settings, and metadata.get_links_countGet links countGETRetrieves the total count of links in the workspace with optional filtering and grouping.list_linksList linksGETLists all short links in your Dub workspace with filtering by domain, tags, folders, and search capabilities.update_linkUpdate linkPATCHUpdates an existing Dub short link's destination, settings, or metadata without changing the short URL.upsert_linkUpsert linkPUTCreates or updates a short link by URL. If a link with the same URL exists, returns or updates it; otherwise creates a new one.
Domain, 4 operations
create_domainCreate domainPOSTCreates a new custom domain for branded short links in your Dub workspace.delete_domainDelete domainDELETEPermanently deletes a custom domain and all associated links from your Dub workspace.list_domainsList domainsGETLists all custom domains configured in your Dub workspace including verification status.update_domainUpdate domainPATCHUpdates a custom domain's settings in your Dub workspace.
Folder, 4 operations
create_folderCreate folderPOSTCreates a new folder for organizing links in your Dub workspace.delete_folderDelete folderDELETEDeletes a folder from your Dub workspace. Links in the folder continue to work but lose their folder association.list_foldersList foldersGETLists all folders in your Dub workspace with optional search and pagination.update_folderUpdate folderPATCHUpdates an existing folder's name, description, or access level in your Dub workspace.
Tag, 3 operations
create_tagCreate tagPOSTCreates a new tag in Dub for organizing and categorizing links by campaign, project, or custom criteria.list_tagsList tagsGETLists all tags in your Dub workspace with filtering, sorting, and pagination.update_tagUpdate tagPATCHUpdates an existing tag's name or color in your Dub workspace.
Tracking, 2 operations
track_leadTrack leadPOSTTracks a lead conversion event attributed to a Dub short link click.track_saleTrack salePOSTTracks a sale conversion event attributed to a Dub short link for revenue tracking.
Analytics, 1 operation
get_link_analyticsGet link analyticsGETRetrieves detailed click analytics from Dub including time series, geographic distribution, devices, browsers, and referrers.
Event, 1 operation
list_eventsList eventsGETRetrieves a paginated list of click, lead, and sale events from Dub with comprehensive filtering.
Metatags, 1 operation
get_metatagsGet metatagsGETRetrieves Open Graph metatags (title, description, image) for any URL.
Qr, 1 operation
get_qr_codeGet qr codeGETGenerates a customizable QR code image for any URL with configurable colors, size, and logo.
Use Dub from Claude Code, Cursor or Codex
Connect Dub in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Dub operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Dub
- Create your workspace
Sign up free. Nothing to install.
- Connect Dub once
Add your Dub connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Dub integration FAQ
What can you do with the Dub integration?
LiveContext exposes 27 operations on Dub, covering link, domain, folder and tag. Common uses include folder management, cleaning up test links and tag management.
