# Dub.co Docs ## Docs - [Bulk create links](https://dub.co/docs/api-reference/endpoint/bulk-create-links): Bulk create up to 100 links for the authenticated workspace. - [Bulk delete links](https://dub.co/docs/api-reference/endpoint/bulk-delete-links): Bulk delete up to 100 links for the authenticated workspace. - [Bulk update links](https://dub.co/docs/api-reference/endpoint/bulk-update-links): Bulk update up to 100 links with the same data for the authenticated workspace. - [Create a customer](https://dub.co/docs/api-reference/endpoint/create-a-customer): Create a customer for the authenticated workspace. - [Create a domain](https://dub.co/docs/api-reference/endpoint/create-a-domain): Create a domain for the authenticated workspace. - [Create a new link](https://dub.co/docs/api-reference/endpoint/create-a-new-link): Create a new link for the authenticated workspace. - [Create a new tag](https://dub.co/docs/api-reference/endpoint/create-a-new-tag): Create a new tag for the authenticated workspace. - [Delete a customer](https://dub.co/docs/api-reference/endpoint/delete-a-customer): Delete a customer from a workspace. - [Delete a domain](https://dub.co/docs/api-reference/endpoint/delete-a-domain): 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://dub.co/docs/api-reference/endpoint/delete-a-link): Delete a link for the authenticated workspace. - [Retrieve a customer](https://dub.co/docs/api-reference/endpoint/retrieve-a-customer): Retrieve a customer by ID for the authenticated workspace. - [Retrieve a link](https://dub.co/docs/api-reference/endpoint/retrieve-a-link): Retrieve the info for a link. - [Retrieve a list of customers](https://dub.co/docs/api-reference/endpoint/retrieve-a-list-of-customers): Retrieve a list of customers for the authenticated workspace. - [Retrieve a list of domains](https://dub.co/docs/api-reference/endpoint/retrieve-a-list-of-domains): Retrieve a list of domains associated with the authenticated workspace. - [Retrieve a list of events](https://dub.co/docs/api-reference/endpoint/retrieve-a-list-of-events): Retrieve a paginated list of events for the authenticated workspace. - [Retrieve a list of links](https://dub.co/docs/api-reference/endpoint/retrieve-a-list-of-links): Retrieve a paginated list of links for the authenticated workspace. - [Retrieve a list of tags](https://dub.co/docs/api-reference/endpoint/retrieve-a-list-of-tags): Retrieve a list of tags for the authenticated workspace. - [Retrieve a QR code](https://dub.co/docs/api-reference/endpoint/retrieve-a-qr-code): Retrieve a QR code for a link. - [Retrieve a workspace](https://dub.co/docs/api-reference/endpoint/retrieve-a-workspace): Retrieve a workspace for the authenticated user. - [Retrieve analytics](https://dub.co/docs/api-reference/endpoint/retrieve-analytics): 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://dub.co/docs/api-reference/endpoint/retrieve-number-of-links): Retrieve the number of links for the authenticated workspace. The provided query parameters allow filtering the returned links. - [Track a lead](https://dub.co/docs/api-reference/endpoint/track-lead): Track a lead for a short link. - [Track a sale](https://dub.co/docs/api-reference/endpoint/track-sale): Track a sale for a short link. - [Update a customer](https://dub.co/docs/api-reference/endpoint/update-a-customer): Update a customer for the authenticated workspace. - [Update a domain](https://dub.co/docs/api-reference/endpoint/update-a-domain): Update a domain for the authenticated workspace. - [Update a link](https://dub.co/docs/api-reference/endpoint/update-a-link): Update a link for the authenticated workspace. If there's no change, returns it as it is. - [Update a tag](https://dub.co/docs/api-reference/endpoint/update-a-tag): Update a tag in the workspace. - [Update a workspace](https://dub.co/docs/api-reference/endpoint/update-a-workspace): Update a workspace by ID or slug. - [Upsert a link](https://dub.co/docs/api-reference/endpoint/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. - [Errors](https://dub.co/docs/api-reference/errors): Troubleshoot problems with this comprehensive breakdown of all error codes. - [Introduction](https://dub.co/docs/api-reference/introduction): Fundamental concepts of Dub.co's API. - [Pagination](https://dub.co/docs/api-reference/pagination): Learn how to paginate through resources in the API. - [Rate limits](https://dub.co/docs/api-reference/rate-limits): Learn about Dub's API rate limits. - [API Keys](https://dub.co/docs/api-reference/tokens): Learn how API keys work on Dub - [Introduction](https://dub.co/docs/conversions/clicks/introduction): Click-tracking with Dub Conversions - [Auth0](https://dub.co/docs/conversions/leads/auth0): Learn how to track a lead conversion event with Auth0 and the Dub SDK - [Clerk](https://dub.co/docs/conversions/leads/clerk): Learn how to track a lead conversion event with Clerk and the Dub SDK - [NextAuth.js](https://dub.co/docs/conversions/leads/next-auth): Learn how to track a lead conversion event with NextAuth.js and the Dub SDK - [Supabase Auth](https://dub.co/docs/conversions/leads/supabase-auth): Learn how to track a lead conversion event with Supabase Auth and the Dub SDK - [Quickstart](https://dub.co/docs/conversions/quickstart): Learn how to get started with Dub Conversions - [Shopify](https://dub.co/docs/conversions/sales/shopify): Learn how to track a sale conversion event with Shopify - [Stripe](https://dub.co/docs/conversions/sales/stripe): Learn how to track a sale conversion event with Stripe - [Data model](https://dub.co/docs/data-model): A quick overview of how Dub is structured. - [Examples](https://dub.co/docs/examples): Explore ideas and examples of what you can build with the Dub API - [Overview](https://dub.co/docs/integrations): Integrate Dub.co with your favorite tools and services. - [Integrate with Dub](https://dub.co/docs/integrations/quickstart): Learn how to set up Dub OAuth applications to authenticate users with OAuth 2.0. - [Webhooks](https://dub.co/docs/integrations/webhooks): Use webhooks to build custom integrations with Dub. - [Introduction](https://dub.co/docs/introduction): Dub is the link management platform for modern marketing teams. - [Local Development](https://dub.co/docs/local-development): A guide on how to run Dub.co's codebase locally. - [Django](https://dub.co/docs/quickstart/django): Learn how to integrate Dub with Django. - [Express](https://dub.co/docs/quickstart/express): Learn how to integrate Dub with Express. - [Flask](https://dub.co/docs/quickstart/flask): Learn how to integrate Dub with Flask. - [Introduction](https://dub.co/docs/quickstart/go): Learn how to integrate Dub with Go. - [Laravel](https://dub.co/docs/quickstart/laravel): Learn how to integrate Dub with Laravel. - [Next.js](https://dub.co/docs/quickstart/nextjs): Learn how to integrate Dub with Next.js. - [Nuxt](https://dub.co/docs/quickstart/nuxt): Learn how to integrate Dub with Nuxt. - [Introduction](https://dub.co/docs/quickstart/php): Learn how to integrate Dub with PHP. - [Introduction](https://dub.co/docs/quickstart/python): Learn how to integrate Dub with Python. - [Ruby on Rails](https://dub.co/docs/quickstart/rails): Learn how to integrate Dub with Ruby on Rails. - [Remix](https://dub.co/docs/quickstart/remix): Learn how to integrate Dub with Remix. - [Introduction](https://dub.co/docs/quickstart/ruby): Learn how to integrate Dub with Ruby. - [Sinatra](https://dub.co/docs/quickstart/sinatra): Learn how to integrate Dub with Sinatra. - [Introduction](https://dub.co/docs/quickstart/typescript): Learn how to integrate Dub with TypeScript. - [Overview](https://dub.co/docs/sdks/cli/overview): Dub CLI for easily shortening URLs - [Framer](https://dub.co/docs/sdks/client-side/installation-guides/framer): How to add Dub Analytics to your Framer site - [React](https://dub.co/docs/sdks/client-side/installation-guides/react): How to add Dub Analytics to your React or Next.js site - [Webflow](https://dub.co/docs/sdks/client-side/installation-guides/webflow): How to add Dub Analytics to your Webflow site - [WordPress](https://dub.co/docs/sdks/client-side/installation-guides/wordpress): How to add Dub Analytics to your WordPress site - [Introduction](https://dub.co/docs/sdks/client-side/introduction): Client-side JavaScript SDK for for Dub Conversions - [Overview](https://dub.co/docs/sdks/overview): Open-source client libraries for the Dub.co API - [dub.analytics.retrieve](https://dub.co/docs/sdks/typescript/analytics/retrieve): Retrieve analytics for a link, a domain, or the authenticated workspace. The response type depends on the `event` and `type` query parameters. - [dub.domains.create](https://dub.co/docs/sdks/typescript/domains/create): Create a domain for the authenticated workspace. - [dub.domains.delete](https://dub.co/docs/sdks/typescript/domains/delete): Delete a domain from a workspace. It cannot be undone. This will also delete all the links associated with the domain. - [dub.domains.list](https://dub.co/docs/sdks/typescript/domains/list): Retrieve a list of domains associated with the authenticated workspace. - [dub.domains.update](https://dub.co/docs/sdks/typescript/domains/update): Edit a domain for the authenticated workspace. - [dub.events.list](https://dub.co/docs/sdks/typescript/events/list): Retrieve a list of events for the authenticated workspace. The list will be paginated and the provided query parameters allow filtering the returned events. - [Count](https://dub.co/docs/sdks/typescript/links/count): Retrieve the number of links for the authenticated workspace. The provided query parameters allow filtering the returned links. - [Create](https://dub.co/docs/sdks/typescript/links/create): Create a new link for the authenticated workspace. - [Create Many](https://dub.co/docs/sdks/typescript/links/create-many): Bulk create up to 100 links for the authenticated workspace. - [Delete](https://dub.co/docs/sdks/typescript/links/delete): Delete a link for the authenticated workspace. - [Get](https://dub.co/docs/sdks/typescript/links/get): Retrieve info for a link by specifying either the domain and key or the linkId or externalId - [List](https://dub.co/docs/sdks/typescript/links/list): Retrieve a list of links for the authenticated workspace. The list will be paginated and the provided query parameters allow filtering the returned links. - [Update](https://dub.co/docs/sdks/typescript/links/update): Edit a link for the authenticated workspace. Support partial updates. - [Upsert](https://dub.co/docs/sdks/typescript/links/upsert): 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. - [dub.metatags.get](https://dub.co/docs/sdks/typescript/metatags/get): Retrieve the metatags for a URL. - [Overview](https://dub.co/docs/sdks/typescript/overview): TypeScript SDK for Dub.co - [dub.tags.create](https://dub.co/docs/sdks/typescript/tags/create): Create a new tag for the authenticated workspace. - [dub.tags.list](https://dub.co/docs/sdks/typescript/tags/list): Retrieve a list of tags for the authenticated workspace. - [dub.tags.update](https://dub.co/docs/sdks/typescript/tags/update): Update a tag for the authenticated user. - [dub.workspaces.get](https://dub.co/docs/sdks/typescript/workspaces/get): Retrieve a workspace for the authenticated user. - [dub.workspaces.update](https://dub.co/docs/sdks/typescript/workspaces/update): Update a workspace for the authenticated user. - [Self-hosting Dub.co](https://dub.co/docs/self-hosting): An end-to-end guide on how to self-host Dub.co – the open-source link management platform.