Dub llms.txt · AI Docs Browser · mdream

[llms.txt Tools](https://mdream.dev/llms-txt/dub/llms-txt)

# Dub llms.txt

dub.co/llms.txt

[Raw llms.txt](https://dub.co/docs/llms.txt) [Raw llms-full.txt](https://dub.co/llms-full.txt)

Copy Markdown [](https://dub.co/llms.txt)

llms.txt

Docs

Introduction

Retrieve analytics

API Authentication

Approve a bounty submission

List bounty submissions

Reject a bounty submission

Create commission

List all commissions

Update a commission

Delete a customer

List all customers

Retrieve a customer

Update a customer

Check the availability of one or more domains

Create a domain

Delete a domain

Register a domain

Update a domain

List all events

Create a folder

Delete a folder

List all folders

Update a folder

Introduction

Bulk create links

Bulk delete links

Bulk update links

Retrieve links count

Create a link

Delete a link

List all links

Retrieve a link

Update a link

Upsert a link

Approve a partner application

List all pending partner applications

Reject a partner application

Ban a partner

Create or update a partner

Create a link for a partner

Deactivate a partner

List all partners

Retrieve a partner's links.

Upsert a link for a partner

List all payouts

Rate limits

Create a tag

List all tags

Update a tag

Track a lead event

Track a deep link open event

Track a sale event

Device data

Introduction

Links data

Location data

Partners data

Referrers data

UTM data

How attribution works

Deep link attribution

Deferred deep linking

Migrating from Firebase Dynamic Links

Quickstart

Bulk operations

Introduction

Organizing links

Appwrite

Auth0

Better Auth

Clerk

Deferred lead tracking

NextAuth.js

Supabase

Direct sale tracking

Tracking refunds

Introduction

Google Tag Manager

HubSpot

Build your own integration

Segment

Shopify

Stripe

Local development

Dub MCP Server

Introduction

Embedded referral dashboard

Event types

commission.created

lead.created

sale.created

Introduction

Verify postback requests

Client-side tracking

Server-side tracking

React Native

Swift

Introduction

Client-side click tracking

Client-side conversion tracking

Cross-domain tracking

Reverse-proxy support

Framer

Google Tag Manager

Manual Installation

React

Shopify

Webflow

WordPress

Introduction

Script Variants

Go SDK

Overview

PHP SDK

Python SDK

Ruby SDK

TypeScript SDK

Self-hosting Dub

Event types

commission.created

lead.created

link.clicked

link.created

link.deleted

link.updated

partner.application_submitted

partner.enrolled

sale.created

Introduction

Verify webhook requests

Dub Help Center

How to run A/B tests with Dub Links?

Application analytics

Archiving domains on Dub

Configuring SAML SSO with Azure AD

Configuring SCIM Directory Sync with Azure AD

How to manage your links in bulk

How to choose a custom domain for your short links

Commission analytics

How commissions and payouts work on Dub

Communicating with your programs

How to set custom link previews for your Dub links?

Custom QR codes

Customer insights

What are default Dub domains?

How to use device targeting on Dub?

Offering dual-sided incentives

Dub Analytics Overview

Dub Analytics Limits

Conversion tracking

What is the Dub link builder?

Dub Links Overview

Why are my dub.sh links not working?

Dub Partners Overview

Sending marketing and transactional emails to your partners

How to filter analytics by folders

How to filter analytics by tags

How to filter by trigger type

Filtering and visualizing your analytics by UTM parameters

Folders role-based access control (RBAC)

Free .link domain offer on Dub

Free 14-day trial

How to use geo targeting on Dub?

Configuring SAML SSO with Google Workspace

How noindex works on Dub

How to add a custom domain to Dub

How to cancel my Dub subscription?

How to change my Dub billing information?

How to change my default workspace on Dub?

How can I check a Dub link's destination before clicking on it?

How to create a short link on Dub?

How to create UTM templates on Dub

How to delete my Dub account?

How can I download my Dub invoice?

How to export link analytics data from Dub

How to export links from Dub

How to import links from a CSV file

How to invite teammates on Dub

How to set up a redirect for your custom domain on Dub

How to set a primary domain on Dub?

Setting up a bank account for partner payouts

How to transfer domains between workspaces?

How to transfer links between workspaces?

How to use Dub to shorten links on a subpath

How to use Tags on Dub

Importing partners

Why are my analytics country or city data incorrect?

Inviting partners to your program

How to use link cloaking on Dub?

How to add comments to your links in Dub?

Does Dub allow for double link redirects?

How to set an expiration date for your Dub links?

Managing links with folders

Inviting your partner team

Partner details

Merging your partner accounts

Messaging your partners

Migrating from Bitly

Migrating from FirstPromoter

Migrating from PartnerStack

Migrating from Rebrandly

Migrating from Rewardful

Migrating from Short.io

Migrating from Tapfiliate

Migrating from Tolt

Navigating a partner program

Dub Network referral bonus

Non-monetary rewards

Configuring SAML SSO with Okta

Configuring SCIM Directory Sync with Okta

How to pass query parameters in short links?

Managing partner commissions

Managing your partners with groups

Configuring referral links for your partner groups

Setting business details in partner payout invoices

Sending partner payouts on Dub

Customizing your partner profile

Partner referrals

Configuring partner rewards

Partner tags

Frequently Asked Questions

How to create password-protected links on Dub?

Measuring program performance

Customizing your program application form

Reviewing program applications

Program bounties

Creating a landing page for your partner program

Applying to programs via the Dub Program Marketplace

Configuring brand and support resources for your partners

Real-time events stream

Connecting your payout method to receive payouts

Risk monitoring

How to set a not found URL for your custom domains

Setting up your program

How to create public analytics dashboards on Dub

Troubleshooting custom domains

Using Cloudflare domains with Dub

Can I use a proxy on top of my Dub custom domain?

How do I add UTM parameters to a link?

What is a "Workspace" on Dub?

Managing workspace members with roles

OpenAPI Specs

dub-with-code-samples

pnpm-lock

package

workflow

api

## What is Dub's llms.txt?

Dub publishes an `/llms.txt` file that provides AI systems with a structured index of its documentation. It follows the [llms.txt specification](https://llmstxt.org), organizing links to guides, API references, and tutorials under section headings so that LLMs like ChatGPT, Claude, and Gemini can quickly understand what Dub offers and where to find details.

Pass

Spec

2

Sections

246

Links

38.6 KB

Size

~9.9k

Tokens

Sections: Docs · OpenAPI Specs

## Add Dub Docs to Your AI Assistant

Select your tool to see how to add Dub's llms.txt as a documentation source.

Cursor

 Windsurf

 Claude Code

 ChatGPT

 Zed

 Copilot

1. 1

   Open any chat or composer panel
2. 2

   Type @Docs and select "Add new doc"
3. 3

   Paste the URL: https://dub.co/llms.txt
4. 4

   Wait for the green dot (indexing complete)
5. 5

   Reference @Docs in chat when asking about Dub

Cursor crawls the URL and indexes all subpages. Add a trailing slash to index child pages too.

## Spec Compliance 3 notes

## Frequently Asked Questions

Where is Dub's llms.txt file?

Dub publishes its llms.txt at https://dub.co/llms.txt. This file provides a structured, markdown-formatted index of Dub's documentation that AI systems can consume to understand the project's APIs, guides, and references.

How do I use Dub's llms.txt with AI coding assistants?

Copy the llms.txt content and paste it into your AI assistant (Cursor, Windsurf, Claude, ChatGPT) as context. This gives the AI an accurate map of Dub's documentation so it can provide better code suggestions and answers about Dub.

What does Dub's llms.txt contain?

Dub's llms.txt contains 2 sections and 246 documentation links in 38.6 KB (~9.9k tokens). Key sections include Docs, OpenAPI Specs.

How many tokens does Dub's llms.txt use?

The concise llms.txt index is approximately 9.9k tokens (38.6 KB). Most AI assistants can fit this within their context window. For the full expanded documentation, look for an llms-full.txt variant which embeds all content inline.

Can I generate an llms.txt for my own project?

Yes. Use the free llms.txt generator at mdream.dev/tools/llms-txt/generator to crawl your site and produce a spec-compliant llms.txt file. You can also validate existing files with the llms.txt validator.

## Browse More llms.txt Files

[Stedi](https://mdream.dev/llms-txt/dub/llms-txt/stedi) [Tiger Data Documentation](https://mdream.dev/llms-txt/dub/llms-txt/timescale) [Together AI Docs](https://mdream.dev/llms-txt/dub/llms-txt/together) [Milvus Milvus is an open-source, high-performance vector database designed for similarity search and AI applications. It supports billion-scale vector storage and search across deployment modes: Milvus Lite (embedded, for prototyping), Milvus Standalone (single-node, for small-scale production), and Milvus Distributed (Kubernetes, for enterprise scale). The primary SDK is PyMilvus for Python; Java, Go, Node.js, and RESTful SDKs are also available. Always check PyPI (`pip install --upgrade pymilvus`) or npm for the latest SDK version rather than relying on memorized version numbers.](https://mdream.dev/llms-txt/dub/llms-txt/milvus) [Authelia Free Open-Source Software Modern IAM Solution](https://mdream.dev/llms-txt/dub/llms-txt/authelia) [Dify Docs](https://mdream.dev/llms-txt/dub/llms-txt/dify) [smartcar](https://mdream.dev/llms-txt/dub/llms-txt/smartcar) [Modern.js The Modern.js framework is a progressive web framework based on React. At ByteDance, we use Modern.js to build upper-level frameworks that have supported the development of thousands of web applications.](https://mdream.dev/llms-txt/dub/llms-txt/modern-js)

[View all 99 projects ](https://mdream.dev/llms-txt/dub/llms-txt)

## Related Tools

[<h3>llms.txt Generator</h3>Generate an llms.txt for your own project.](https://mdream.dev/llms-txt/dub/tools/llms-txt/generator) [<h3>llms.txt Validator</h3>Validate your llms.txt against the official spec.](https://mdream.dev/llms-txt/dub/tools/llms-txt/validator)

© 2026 [Harlan Wilton](https://github.com/harlan-zw) · [MIT](https://github.com/harlan-zw/mdream/blob/main/license)

[GitHub](https://github.com/harlan-zw/mdream) [Discord](https://discord.com/invite/275MBUBvgP)