onelink
Help CenterAPI & Integrations
Built for Developers

Connect. Automate.
Scale Growth.

Leverage the powerful OneLink API to generate smart links on-the-fly, capture deep analytics, and master programmatic redirection.

Technical Docs

Access full endpoint specifications, parameters, and code payloads.

View API Specs
Redirection Engine
Systems Operational
Expert Help
Need technical support?
Talk to an Engineer

What is the OneLink API?

The OneLink API is a powerful set of tools that allows developers to interact with our redirection engine programmatically. Instead of creating links one by one in the dashboard, you can build systems that generate thousands of links automatically.

Automation

Generate links on-the-fly when a new user signs up or a new product is added.

Analytics

Pull click data directly into your internal BI tools or custom marketing dashboards.

Optimization

A/B test different fallback URLs and deep link paths at scale.

Programmatic Analytics

Monitoring your growth doesn't have to be manual. Use the `GET /links/:slug/stats` endpoint to retrieve real-time data for any of your smart links.

  • Total Clicks: Overall volume over a specific time period.
  • Platform Breakdown: See exactly how many users are on iOS vs MacOS vs Windows.
  • Top Referrers: Identify which social apps (Instagram, WhatsApp, TikTok) are driving the most traffic.

Authentication

To start using the API, you need two pieces of information: an **API Key** and an **API Secret**. You can find these in your dashboard under **Settings > Developer**.

Security Note

Your **API Secret** is only shown once. We store only its cryptographic hash. If you lose it, you will need to generate a new key pair. Never share your secret in frontend code or public repositories.

Deep Linking Deep Dive

What is a Deep Link?

A deep link is a special URL that points to a specific piece of content inside a mobile app, rather than just opening the app's home screen. In OneLink, this is configured using the `deepLinkPath` field.

Direct Analogy

Standard URL: Like a building's street address (Opens the front door / Home Screen).

Deep Link Path: Like a specific room number (Opens a specific profile or product).

How it Works

The Protocol

protocol://path?params

How does `deepLinkPath` work?

1

Detection

OneLink detects the user's device (iOS, Android, etc.) automatically.

2

Execution

It attempts to 'fire' the custom deepLinkPath (URI Scheme) you provided.

3

Resolution

If installed, the OS catches the scheme and opens the specific in-app page.

Popular App Examples

ApplicationExample PathNative Result
Instagraminstagram://user?username=onelinkOpens specific Profile
Spotifyspotify:album:12345Opens specific Album
Twitter (X)twitter://user?screen_name=nasaOpens specific Profile
YouTubevnd.youtube://watch?v=VIDEO_IDOpens specific Video
WhatsAppwhatsapp://send?phone=91...Opens specific Chat

How to find an App's Deep Link Path?

1
Official Documentation (Best Way)

Search for "[App Name] URI Scheme documentation". Most major apps publish their schemes for external developers.

2
Common Patterns (The Guess Method)

Many apps use predictable patterns. If the web URL is spotify.com/playlist/X, the deep link is likely spotify:playlist:X.

3
Online Databases

Check community-maintained lists like Handle.it or URL-Schemes repositories on GitHub.

Pro Tip: Testing your Deep Link

Before adding it to OneLink, test it directly: Copy the path (e.g., instagram://user?username=nasa) and paste it into your mobile browser's address bar. If the app opens to the right page, the path is correct!

Technical API Docs

Ready to write code? Access our full technical documentation, including endpoints, parameters, and payloads.

View Technical Docs

Still need help?

Our engineers are available for technical integration assistance.

Talk to an Engineer
ENTERPRISE READY

Large-scale Integration?

OneLink supports high-concurrency environments with custom rate limits and dedicated infrastructure for enterprise customers.