For Agents
Generate Firebase Dynamic Links and retrieve install and click attribution so an agent can automate referral and deep-linking campaigns.
Use for: Generate a short dynamic link for a referral campaign, Create a managed dynamic link with campaign metadata, Retrieve install attribution for an iOS app launch, Get click stats for a specific dynamic link
Not supported: Does not send push notifications, host web pages, or replace mobile attribution SDKs — use for generating deep links and reading link-level attribution only.
The Firebase Dynamic Links API programmatically creates short and managed deep links that survive app installs and route users to specific content inside iOS and Android apps. It exposes endpoints to create short links, create managed short links with metadata, fetch click and install attribution, and retrieve aggregate link analytics. Use it to power referral campaigns, marketing emails, and social shares with deep links that work across web and native platforms.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Firebase Dynamic Links API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Firebase Dynamic Links API.
Generate a short Firebase Dynamic Link from a long URL with iOS and Android routing parameters
Create managed short links with custom metadata for tracking marketing campaigns
Retrieve install attribution showing which dynamic link drove a fresh app install
Look up reopen attribution to see which dynamic link relaunched the app for an existing user
Fetch event-level link statistics such as click and redirect counts for a dynamic link
Patterns agents use Firebase Dynamic Links API for, with concrete tasks.
★ Referral Link Generation for Mobile Apps
Generate short Firebase Dynamic Links on demand for a referral programme so each invitation links back to the inviter and lands the new user on the right onboarding screen even if the app is freshly installed. POST /v1/shortLinks accepts a long deep-link URL and returns a shareable short link. Integration into an existing referral service takes a few hours.
Call POST /v1/shortLinks with longDynamicLink containing the iOS bundle, Android package, and deepLinkPath /onboarding?ref=USER123 and store the returned short link for sharing.
Campaign-Tagged Managed Links
Create managed short links via POST /v1/managedShortLinks:create when you need editable metadata, naming, and ongoing analytics rather than fire-and-forget short links. Managed links keep their identity over time and are suited to long-running campaigns where the destination URL or campaign tag may change after the link is published.
Call POST /v1/managedShortLinks:create with name=summer_promo and a longDynamicLink that includes utm_campaign=summer to publish a managed link with built-in tracking metadata.
Install and Reopen Attribution
Pull attribution data showing which dynamic link drove a specific install or reopen event using POST /v1/installAttribution and POST /v1/reopenAttribution. This lets growth teams measure the share of new users that came through deep links versus organic install paths, and reconcile mobile attribution with their analytics warehouse.
Call POST /v1/installAttribution with the bundleId and uniqueMatchLinkToCheck for an iOS install and inspect the returned attributionConfidence and matchType fields.
Agent-Driven Referral Flows via Jentic
An AI agent using Jentic can generate dynamic links on the fly during a referral conversation and immediately track the resulting installs through the same provider. Jentic exposes the 5 Dynamic Links endpoints, the agent loads short-link generation and attribution endpoints, and OAuth credentials stay in the Jentic vault rather than the agent context.
Through Jentic, search for generate a firebase dynamic short link, load the shortLinks.create operation, and execute it with longDynamicLink set to the deep link URL for the current user's referral.
5 endpoints — the firebase dynamic links api programmatically creates short and managed deep links that survive app installs and route users to specific content inside ios and android apps.
METHOD
PATH
DESCRIPTION
/v1/shortLinks
Create a short Firebase Dynamic Link
/v1/managedShortLinks:create
Create a managed short Dynamic Link with metadata
/v1/installAttribution
Retrieve install attribution for a dynamic link
/v1/reopenAttribution
Retrieve reopen attribution for a dynamic link
/v1/{dynamicLink}/linkStats
Get aggregated click and event stats for a dynamic link
/v1/shortLinks
Create a short Firebase Dynamic Link
/v1/managedShortLinks:create
Create a managed short Dynamic Link with metadata
/v1/installAttribution
Retrieve install attribution for a dynamic link
/v1/reopenAttribution
Retrieve reopen attribution for a dynamic link
/v1/{dynamicLink}/linkStats
Get aggregated click and event stats for a dynamic link
Three things that make agents converge on Jentic-routed access.
Credential isolation
Google OAuth 2.0 service-account credentials are stored encrypted in the Jentic vault. Agents receive a scoped access token per call, so the underlying private key never enters the agent's prompt or tool-call payloads.
Intent-based discovery
Agents search Jentic with intents like generate a firebase dynamic short link or get firebase dynamic link stats and Jentic returns the matching shortLinks.create or linkStats.get operation with their input schemas.
Time to first call
Direct integration with Firebase Dynamic Links: 1-2 days for OAuth, link generation, and attribution polling. Through Jentic: under 30 minutes.
Alternatives and complements available in the Jentic catalogue.
Specific to using Firebase Dynamic Links API through Jentic.
What authentication does the Firebase Dynamic Links API use?
The API uses Google OAuth 2.0 with the firebase or cloud-platform scope, typically supplied via a service account or installed application credential. Through Jentic the OAuth credentials live in the Jentic vault and a scoped access token is added to each request transparently.
Can I create a managed Firebase Dynamic Link with the Firebase Dynamic Links API?
Yes. POST /v1/managedShortLinks:create produces a managed short link with editable metadata such as name, suitable for marketing campaigns where the destination or campaign tags may change later. Use POST /v1/shortLinks for one-off non-managed links.
What are the rate limits for the Firebase Dynamic Links API?
Google enforces standard googleapis.com project-level quotas for the Dynamic Links API. High-throughput campaign generation should batch creation requests and reuse the same managed link where possible rather than minting new links per share.
How do I create a short dynamic link through Jentic?
Run pip install jentic, search for generate a firebase dynamic short link, load the shortLinks.create operation, and execute it with a longDynamicLink that includes the bundleId, packageName, and deepLinkPath. Sign up at https://app.jentic.com/sign-up.
Does the Firebase Dynamic Links API return deferred deep link attribution?
Yes. POST /v1/installAttribution returns the dynamic link parameters that survived an iOS or Android install, allowing the app to route a freshly installed user to the same destination they originally clicked.
Is the Firebase Dynamic Links API free?
Firebase Dynamic Links is included with Firebase under standard usage limits. Note that Google has announced future deprecation of Dynamic Links — check the official Firebase documentation for the latest end-of-life timeline before building new dependencies.
GET STARTED