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.
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
- POSTbulk_create_links
Creates multiple Dub short links in a single API request for efficient batch operations.
- DELETEbulk_delete_links
Deletes up to 100 links in a single API request for efficient batch cleanup.
- PATCHbulk_update_links
Bulk updates up to 100 links with the same data in a single API request.
- POSTcreate_link
Creates a new short link in Dub with optional custom slug, expiration, password protection, and geo-targeting capabilities.
- DELETEdelete_link
Permanently deletes a Dub short link. The short URL will no longer redirect to the destination.
- GETget_link
Retrieves detailed information about a Dub short link including click counts, settings, and metadata.
- GETget_links_count
Retrieves the total count of links in the workspace with optional filtering and grouping.
- GETlist_links
Lists all short links in your Dub workspace with filtering by domain, tags, folders, and search capabilities.
- PATCHupdate_link
Updates an existing Dub short link's destination, settings, or metadata without changing the short URL.
- PUTupsert_link
Creates 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
- POSTcreate_domain
Creates a new custom domain for branded short links in your Dub workspace.
- DELETEdelete_domain
Permanently deletes a custom domain and all associated links from your Dub workspace.
- GETlist_domains
Lists all custom domains configured in your Dub workspace including verification status.
- PATCHupdate_domain
Updates a custom domain's settings in your Dub workspace.
Folder, 4 operations
- POSTcreate_folder
Creates a new folder for organizing links in your Dub workspace.
- DELETEdelete_folder
Deletes a folder from your Dub workspace. Links in the folder continue to work but lose their folder association.
- GETlist_folders
Lists all folders in your Dub workspace with optional search and pagination.
- PATCHupdate_folder
Updates an existing folder's name, description, or access level in your Dub workspace.
Tag, 3 operations
- POSTcreate_tag
Creates a new tag in Dub for organizing and categorizing links by campaign, project, or custom criteria.
- GETlist_tags
Lists all tags in your Dub workspace with filtering, sorting, and pagination.
- PATCHupdate_tag
Updates an existing tag's name or color in your Dub workspace.
Tracking, 2 operations
- POSTtrack_lead
Tracks a lead conversion event attributed to a Dub short link click.
- POSTtrack_sale
Tracks a sale conversion event attributed to a Dub short link for revenue tracking.
Analytics, 1 operation
- GETget_link_analytics
Retrieves detailed click analytics from Dub including time series, geographic distribution, devices, browsers, and referrers.
Event, 1 operation
- GETlist_events
Retrieves a paginated list of click, lead, and sale events from Dub with comprehensive filtering.
Metatags, 1 operation
- GETget_metatags
Retrieves Open Graph metatags (title, description, image) for any URL.
Qr, 1 operation
- GETget_qr_code
Generates 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.
Popular integrations
Instagram API with Instagram Login (graph.instagram.com). Manage a Business/Creator Instagram account…
Messaging platform API for building bots and integrations. Send messages, manage chats and channels, handle…
Google email service API for sending, receiving, and managing emails. Access messages, threads, labels,…
Google's video platform API for accessing video, channel, playlist, and comment data
Social media platform API for content creators and businesses. Access user info, manage videos, get…
Social media platform API for posting, reading, and managing Twitter/X content. Post tweets, read timelines,…
Professional networking platform API for managing profiles, connections, and content. Share posts, manage…
AI API from xAI (Elon Musk's AI company) powering Grok models. Access state-of-the-art language models with…