Skip to content

Latest commit

 

History

History
78 lines (66 loc) · 2.48 KB

examples.mdx

File metadata and controls

78 lines (66 loc) · 2.48 KB
title og:title description icon
Examples
Dub.co API Examples - Build with the Dub API
Explore ideas and examples of what you can build with the Dub API
github

Dub Links

With Dub's API, you can integrate Dub's link infrastructure into your application. This includes use cases like:

  • Programmatically creating short links
  • Using OAuth 2.0 to authenticate with Dub

With Dub's powerful Analytics API, you can access real-time analytics data for your links. This allows you to build user-facing analytics dashboards, a la the ones on OSS Gallery.

Mini link shortener built with the Dub Typescript SDK Example app that shows how to use OAuth 2.0 to authenticate with Dub Programmatically create short links on-demand using Dub's TypeScript SDK Create code snippets, browse AI prompts, create extension icons and more.

Dub Conversions

With Dub Conversions, you can build white-labeled referral dashboards that live directly in your application (leveraging our Analytics API as well).

You can also combine Dub Conversions with Webhooks to build custom referral workflows:

  • give both the referrer and referee 1 month free of your product
  • send a swag link when a user reaches 5 referrals
Dub Conversions is currently in closed beta. If you'd like to join the beta, [reach out to us via email](mailto:support@dub.co?subject=I%20want%20to%20join%20the%20Dub%20Conversions%20beta). Example app that shows how to use Dub Conversions with the Dub Typescript SDK