# Dub Docs ## Docs - [Bulk create links](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/bulk-create-links.md): Bulk create up to 100 links for the authenticated workspace. - [Bulk delete links](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/bulk-delete-links.md): Bulk delete up to 100 links for the authenticated workspace. - [Bulk update links](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/bulk-update-links.md): Bulk update up to 100 links with the same data for the authenticated workspace. - [Create a domain](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/create-a-domain.md): Create a domain for the authenticated workspace. - [Create a link](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/create-a-new-link.md): Create a link for the authenticated workspace. - [Create a tag](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/create-a-new-tag.md): Create a tag for the authenticated workspace. - [Delete a customer](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/delete-a-customer.md): Delete a customer from a workspace. - [Delete a domain](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/delete-a-domain.md): Delete a domain from a workspace. It cannot be undone. This will also delete all the links associated with the domain. - [Delete a link](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/delete-a-link.md): Delete a link for the authenticated workspace. - [Retrieve a customer](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-customer.md): Retrieve a customer by ID for the authenticated workspace. - [Retrieve a link](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-link.md): Retrieve the info for a link. - [Retrieve a list of customers](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-list-of-customers.md): Retrieve a list of customers for the authenticated workspace. - [Retrieve a list of domains](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-list-of-domains.md): Retrieve a list of domains associated with the authenticated workspace. - [Retrieve a list of events](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-list-of-events.md): Retrieve a paginated list of events for the authenticated workspace. - [Retrieve a list of links](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-list-of-links.md): Retrieve a paginated list of links for the authenticated workspace. - [Retrieve a list of tags](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-list-of-tags.md): Retrieve a list of tags for the authenticated workspace. - [Retrieve a QR code](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-qr-code.md): Retrieve a QR code for a link. - [Retrieve a workspace](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-a-workspace.md): Retrieve a workspace for the authenticated user. - [Retrieve analytics](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-analytics.md): Retrieve analytics for a link, a domain, or the authenticated workspace. The response type depends on the `event` and `type` query parameters. - [Retrieve links count](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/retrieve-number-of-links.md): Retrieve the number of links for the authenticated workspace. The provided query parameters allow filtering the returned links. - [Track a lead](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/track-lead.md): Track a lead for a short link. - [Track a sale](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/track-sale.md): Track a sale for a short link. - [Update a customer](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/update-a-customer.md): Update a customer for the authenticated workspace. - [Update a domain](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/update-a-domain.md): Update a domain for the authenticated workspace. - [Update a link](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/update-a-link.md): Update a link for the authenticated workspace. If there's no change, returns it as it is. - [Update a tag](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/update-a-tag.md): Update a tag in the workspace. - [Update a workspace](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/update-a-workspace.md): Update a workspace by ID or slug. - [Upsert a link](https://speakeasy-20cf8bdf.mintlify.app/api-reference/endpoint/upsert-a-link.md): 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. - [Errors](https://speakeasy-20cf8bdf.mintlify.app/api-reference/errors.md): Troubleshoot problems with this comprehensive breakdown of all error codes. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/api-reference/introduction.md): Fundamental concepts of Dub's API. - [Pagination](https://speakeasy-20cf8bdf.mintlify.app/api-reference/pagination.md): Learn how to paginate through resources in the API. - [Rate limits](https://speakeasy-20cf8bdf.mintlify.app/api-reference/rate-limits.md): Learn about Dub's API rate limits. - [API Keys](https://speakeasy-20cf8bdf.mintlify.app/api-reference/tokens.md): Learn how API keys work on Dub. - [Analytics](https://speakeasy-20cf8bdf.mintlify.app/concepts/analytics.md): Learn how to use Dub's analytics to track and analyze your link performance. - [Bulk actions](https://speakeasy-20cf8bdf.mintlify.app/concepts/links/bulk-actions.md): Learn how to perform bulk actions on links. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/concepts/links/introduction.md): Learn how to use Dub's links to track and analyze your marketing campaigns. - [Organizing links](https://speakeasy-20cf8bdf.mintlify.app/concepts/links/organization.md): Learn how to associate links with users, campaigns, teams, and other entities within your system. - [Event types](https://speakeasy-20cf8bdf.mintlify.app/concepts/webhooks/event-types.md): List of available webhook events you can listen to along with their payload examples - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/concepts/webhooks/introduction.md): Use webhooks to get real-time notifications on events happening across your Dub workspace. - [Verify webhook requests](https://speakeasy-20cf8bdf.mintlify.app/concepts/webhooks/verify-webhook-requests.md): Learn how to verify webhook requests to ensure they're coming from Dub. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/conversions/clicks/introduction.md): Click-tracking with Dub Conversions - [Appwrite](https://speakeasy-20cf8bdf.mintlify.app/conversions/leads/appwrite.md): Learn how to track lead conversion events with Appwrite and Dub - [Auth0](https://speakeasy-20cf8bdf.mintlify.app/conversions/leads/auth0.md): Learn how to track lead conversion events with Auth0 and Dub - [Clerk](https://speakeasy-20cf8bdf.mintlify.app/conversions/leads/clerk.md): Learn how to track lead conversion events with Clerk and Dub - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/conversions/leads/introduction.md): Learn how to track lead conversion events with Dub Conversions - [NextAuth.js](https://speakeasy-20cf8bdf.mintlify.app/conversions/leads/next-auth.md): Learn how to track lead conversion events with NextAuth.js and Dub - [Supabase](https://speakeasy-20cf8bdf.mintlify.app/conversions/leads/supabase.md): Learn how to track lead conversion events with Supabase and Dub - [Quickstart](https://speakeasy-20cf8bdf.mintlify.app/conversions/quickstart.md): Learn how to get started with Dub Conversions - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/conversions/sales/introduction.md): Learn how to track sales conversion events with Dub Conversions - [Shopify](https://speakeasy-20cf8bdf.mintlify.app/conversions/sales/shopify.md): Learn how to track a sale conversion event with Shopify - [Stripe](https://speakeasy-20cf8bdf.mintlify.app/conversions/sales/stripe.md): Learn how to track a sale conversion event with Stripe - [Data model](https://speakeasy-20cf8bdf.mintlify.app/data-model.md): A quick overview of how Dub is structured. - [Examples](https://speakeasy-20cf8bdf.mintlify.app/examples.md): Explore ideas and examples of what you can build with the Dub API - [Overview](https://speakeasy-20cf8bdf.mintlify.app/integrations.md): Integrate Dub with your favorite tools and services. - [Make.com](https://speakeasy-20cf8bdf.mintlify.app/integrations/make.md): Integrate Dub's link management infrastructure with Make.com. - [Integrate with Dub](https://speakeasy-20cf8bdf.mintlify.app/integrations/quickstart.md): Learn how to set up Dub OAuth applications to authenticate users with OAuth 2.0. - [Raycast](https://speakeasy-20cf8bdf.mintlify.app/integrations/raycast.md): Integrate Dub's link management infrastructure with Raycast. - [Segment](https://speakeasy-20cf8bdf.mintlify.app/integrations/segment.md): Integrate Dub's link management infrastructure with Segment. - [Shopify](https://speakeasy-20cf8bdf.mintlify.app/integrations/shopify.md): Integrate Dub's link management infrastructure with Shopify. - [Slack](https://speakeasy-20cf8bdf.mintlify.app/integrations/slack.md): Integrate Dub's link management infrastructure with Slack. - [Stripe](https://speakeasy-20cf8bdf.mintlify.app/integrations/stripe.md): Integrate Dub's link management infrastructure with Stripe. - [WordPress](https://speakeasy-20cf8bdf.mintlify.app/integrations/wordpress.md): Integrate Dub's link management infrastructure with WordPress. - [Zapier](https://speakeasy-20cf8bdf.mintlify.app/integrations/zapier.md): Integrate Dub's link management infrastructure with Zapier. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/introduction.md): Dub is the link management platform for modern marketing teams. - [Local Development](https://speakeasy-20cf8bdf.mintlify.app/local-development.md): A guide on how to run Dub's codebase locally. - [Overview](https://speakeasy-20cf8bdf.mintlify.app/sdks/cli/overview.md): Shorten and manage your links directly from your terminal - [Framer](https://speakeasy-20cf8bdf.mintlify.app/sdks/client-side/installation-guides/framer.md): How to add @dub/analytics to your Framer site - [Manual Installation](https://speakeasy-20cf8bdf.mintlify.app/sdks/client-side/installation-guides/manual.md): How to add @dub/analytics to your website - [React](https://speakeasy-20cf8bdf.mintlify.app/sdks/client-side/installation-guides/react.md): How to add @dub/analytics to your React or Next.js site - [Shopify](https://speakeasy-20cf8bdf.mintlify.app/sdks/client-side/installation-guides/shopify.md): How to add @dub/analytics to your Shopify store - [Webflow](https://speakeasy-20cf8bdf.mintlify.app/sdks/client-side/installation-guides/webflow.md): How to add @dub/analytics to your Webflow site - [WordPress](https://speakeasy-20cf8bdf.mintlify.app/sdks/client-side/installation-guides/wordpress.md): How to add @dub/analytics to your WordPress site - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/sdks/client-side/introduction.md): Learn more about the @dub/analytics script and how to install it. - [Script Variants](https://speakeasy-20cf8bdf.mintlify.app/sdks/client-side/variants.md): Learn more about the different variants of the @dub/analytics script. - [Overview](https://speakeasy-20cf8bdf.mintlify.app/sdks/overview.md): Open-source client libraries for the Dub API - [Django](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/django.md): Learn how to integrate Dub with Django. - [Express](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/express.md): Learn how to integrate Dub with Express. - [Flask](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/flask.md): Learn how to integrate Dub with Flask. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/go.md): Learn how to integrate Dub with Go. - [Laravel](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/laravel.md): Learn how to integrate Dub with Laravel. - [Next.js](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/nextjs.md): Learn how to integrate Dub with Next.js. - [Nuxt](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/nuxt.md): Learn how to integrate Dub with Nuxt. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/php.md): Learn how to integrate Dub with PHP. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/python.md): Learn how to integrate Dub with Python. - [Ruby on Rails](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/rails.md): Learn how to integrate Dub with Ruby on Rails. - [Remix](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/remix.md): Learn how to integrate Dub with Remix. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/ruby.md): Learn how to integrate Dub with Ruby. - [Sinatra](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/sinatra.md): Learn how to integrate Dub with Sinatra. - [Introduction](https://speakeasy-20cf8bdf.mintlify.app/sdks/quickstart/typescript.md): Learn how to integrate Dub with TypeScript. - [Self-hosting Dub](https://speakeasy-20cf8bdf.mintlify.app/self-hosting.md): An end-to-end guide on how to self-host Dub – the open-source link management platform. ## OpenAPI Specs - [dub-with-code-samples](https://spec.speakeasy.com/dub/dub/dub-with-code-samples) - [openapi](https://speakeasy-20cf8bdf.mintlify.app/api-reference/openapi.json)