API Integration – Dynamic Link Creation

This document describes the Dynamic Link Creation API, which allows you to create dynamic links programmatically. This API is commonly used for in-app sharing, automatic link generation, and marketing campaign integrations.

By using this API, you can generate fully configured dynamic links without accessing the dashboard.


Overview

The Dynamic Link Creation API enables you to:

This API is designed for backend systems, in-app sharing flows, and automated campaign pipelines.


Use Cases


Key Features


Endpoint

POST
https://api.limelink.org/api/v1/core/link


Headers

Header NameTypeRequiredDescription
X-API-KEYstringYesAPI key for project authentication
Content-TypestringYesMust be application/json

Request Parameters

Root Level Parameters

NameTypeRequiredDescription
dynamic_link_suffixstring (max 50)YesUnique identifier for the short URL path
dynamic_link_urlstring (max 500)YesTarget URL for desktop or fallback
dynamic_link_namestring (max 100)YesLink name for management and identification
project_idstringYesProject ID the link belongs to
stats_flagbooleanOptionalEnable analytics tracking

apple_options (object)

NameTypeRequiredDescription
application_idstring (max 100)ConditionalApplication ID registered in the dashboard
request_uristringOptionalDeep link path inside the app
not_installed_options.custom_urlstring (max 500)ConditionalRedirect URL when the app is not installed

not_installed_options.custom_url is required when not_installed_options is provided.


android_options (object)

NameTypeRequiredDescription
application_idstring (max 100)ConditionalApplication ID registered in the dashboard
request_uristringOptionalDeep link path inside the app
not_installed_options.custom_urlstring (max 500)ConditionalRedirect URL when the app is not installed

not_installed_options.custom_url is required when not_installed_options is provided.


additional_options (object)

NameTypeRequiredDescription
preview_titlestring (max 100)ConditionalSocial preview title
preview_descriptionstring (max 200)ConditionalSocial preview description
preview_image_urlstring (max 500)ConditionalSocial preview image URL
utm_sourcestringOptionalUTM source parameter
utm_mediumstringOptionalUTM medium parameter
utm_campaignstringOptionalUTM campaign parameter

All preview fields are required when additional_options is used.


Response

Success Response

{
  "id": "string",
  "dynamic_link_suffix": "string",
  "dynamic_link_url": "string",
  "dynamic_link_name": "string",
  "apple_options": {},
  "android_options": {},
  "additional_options": {},
  "project_id": "string",
  "stats_flag": false,
  "created_at": "string",
  "updated_at": null
}

Example Request

curl -X POST \
  'https://api.limelink.org/api/v1/core/link' \
  -H 'Content-Type: application/json' \
  -H 'X-API-KEY: your_project_api_key_here' \
  -d '{
    "dynamic_link_suffix": "my-promo",
    "dynamic_link_url": "https://example.com/product/123",
    "dynamic_link_name": "My Product Promotion",
    "apple_options": {
      "application_id": "f8b2d4e1-9c7a-4f6e-b3d8-2a1e9c4f7b6d",
      "not_installed_options": {
        "custom_url": "https://apps.apple.com/app/id123456789"
      },
      "request_uri": "product/123"
    },
    "android_options": {
      "application_id": "a3f7c9b2-6e4d-4a8c-9f1b-8d5e2c9a7f3b",
      "not_installed_options": {
        "custom_url": "https://play.google.com/store/apps/details?id=com.example.androidapp"
      },
      "request_uri": "product/123"
    },
    "additional_options": {
      "preview_title": "Special Offer!",
      "preview_description": "Get 20% off on our new product.",
      "preview_image_url": "https://example.com/images/promo-preview.png",
      "utm_source": "newsletter",
      "utm_medium": "email",
      "utm_campaign": "q4_promo"
    },
    "project_id": "project_abcdef123456",
    "stats_flag": true
  }'

Notes