Creating a Dynalink

Introduction

Dynalink is a powerful dynamic linking solution that enables sophisticated URL routing and social media link previews across multiple platforms. By creating smart links, developers can optimize user experience and app navigation.

Request Body Parameters

Parameter Type Required Description
actual_url string Yes The original destination URL
ios_url string Optional Direct link to iOS App Store
android_url string Optional Direct link to Google Play Store
fallback_url string Optional Alternative URL if linking fails
is_deeplink boolean Optional Whether the link is a deep link
should_open_store boolean Optional Whether to open the store if the app is not installed
social_title string Optional Title for social media sharing
social_description string Optional Description for social media sharing
social_image string Optional Image URL for social media sharing

Example Request

curl -X POST https://dynalink.app/api/links \
-H "Content-Type: application/json" \
-H "x-project-key: YOUR_PROJECT_KEY" \
-d '{
    "actual_url":"https://neero.io?appId=34&type=pendingPayment",
    "ios_url":"https://apps.apple.com/fr/app/neero-paie-transfert-recharge/id6449452176",
    "android_url":"https://apps.apple.com/fr/app/neero-paie-transfert-recharge/id6449452176",
    "is_deeplink": true,
    "should_open_store": true,
    "fallback_url":"https://neero.io",
    "social_title":"Pas de redirection sur android",
    "social_description":"Gagnez des millions",
    "social_image":"https://plus.unsplash.com/premium_photo-1664910125402-7972b1e12b79"
}'

Example Response

{
    "id": 1,
    "code": "QUOIAJ",
    "actual_url": "https://neero.io?appId=34&type=pendingPayment",
    "fallback_url": "https://neero.io",
    "android_url": null,
    "ios_url": "https://apps.apple.com/fr/app/neero-paie-transfert-recharge/id6449452176",
    "clicked_count": 10,
    "social_title": "Pas de redirection sur android",
    "social_description": "Gagnez des millions",
    "is_deeplink": true,
    "should_open_store": true,
    "social_image": "https://plus.unsplash.com/premium_photo-1664910125402-7972b1e12b79",
    "project_id": "9dfbcaf4-052b-4093-92fb-5781a2baa243",
    "created_at": "2025-01-16T17:14:42.000000Z",
    "updated_at": "2025-01-20T10:47:18.000000Z"
}

Notes

  1. Ensure URLs are valid and accessible
  2. Social media metadata helps improve link preview appearance
  3. Fallback URL provides a backup destination