Skip to content

Creating Smart Links with the HTTP API

Dynamic creation of the Smart Links with the HTTP API is the preferred way for content sharing and driving web to app users. Created links will be visible on the GetSocial Dashboard where you can check click-install performance.

Prerequisite

To create a Smart Link with HTTP API make POST request to the smart-links endpoint, specifying the Smart Link parameters in the body. For example:

POST https://api.getsocial.im/v1/smart-links/
Content-Type: application/json
Accept: application/json
X-GetSocial-API-Key: [your_api_key]

{ 
    "app_id": "[your_app_id]",
    "name": "Product 123",
    "token": "product-123",
    "channel": "website",
    "medium": "share-button", 
    "campaign_name": "API Generated Links"
    "custom_data": {
        "$redirect_url": "https://my.app.landing"
    }
}

Visit the HTTP API reference to try the API in the playground and Smart Links parameters reference to see the list of all available parameters.

Next steps

Give us your feedback! Was this article helpful?

😀 🙁