Link Details
Retrieve metadata and configuration for an existing link
https://sdk.sqd.link/api/v1/sdk/link/:link_pathFetch the full details of a link using its unique path identifier.
Replace :link_path with the link's unique path (e.g., 2c1e79).
Headers
PROJECT-KEYstringrequiredYour SDK project key. Found in Dashboard → Developer → API Key.
ENVIRONMENTstringrequiredTarget environment. Use production or development.
Content-TypestringrequiredMust be application/json.
Path Parameters
link_pathstringrequiredThe unique path segment of the link you want to retrieve. This is the part after the last / in the link URL.
No request body is required.
Request Example
curl -X GET https://sdk.sqd.link/api/v1/sdk/link/ef5006 \
-H "PROJECT-KEY: testpr_86a440d502ee6805ea4f0fabf4dc12afxxxxxxxx" \
-H "ENVIRONMENT: production" \
-H "Content-Type: application/json"Response
{
"link": {
"id": 50510,
"title": "Summer Sale",
"subtitle": "50% off all items",
"path": "ef5006",
"access_path": "https://grov3cf9.sqd.link/ef5006",
"updated_at": "2025-05-02T12:43:53.604Z",
"generated_from_platform": "API",
"data": {
"screen": "promo",
"promo_id": "123"
},
"sdk_generated": true,
"tags": ["campaign", "summer"],
"active": true,
"tracking_campaign": "summer_2025",
"tracking_source": "instagram",
"tracking_medium": "social",
"show_preview": true,
"image": null,
"ios_custom_redirect": {
"url": "https://example.com/ios",
"open_app_if_installed": true
},
"android_custom_redirect": {
"url": "https://example.com/android",
"open_app_if_installed": true
},
"desktop_custom_redirect": {
"url": "https://example.com/desktop",
"open_app_if_installed": false
}
}
}Response Fields
idintegerInternal link identifier.
titlestringLink preview title.
subtitlestringLink preview subtitle.
pathstringUnique path segment used in the link URL.
access_pathstringFull URL to access or share the link.
dataobjectCustom metadata attached to the link.
tagsarrayTags used for categorization and filtering.
activebooleanWhether the link is currently active.
sdk_generatedbooleantrue if the link was created via API or SDK.
generated_from_platformstringPlatform that created the link (e.g., "API", "iOS", "Android").
updated_atstringISO 8601 timestamp of the last modification.
show_previewbooleanWhether the link shows a rich preview page on supported platforms.
imagestring | nullPreview image URL, if set.
ios_custom_redirectobjectiOS redirect configuration with url and open_app_if_installed.
android_custom_redirectobjectAndroid redirect configuration with url and open_app_if_installed.
desktop_custom_redirectobjectDesktop browser fallback with url.
tracking_campaignstring | nullCampaign name.
tracking_sourcestring | nullTraffic source.
tracking_mediumstring | nullCampaign medium.
Notes
Use this endpoint to retrieve link metadata dynamically for reporting, routing, or validation logic.
Keep your PROJECT-KEY secure. If you need to regenerate it, contact us at [email protected].