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 |
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.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