Skip to main content
Version: 0.10.0 (stable)

CreateLinkRequest

android_urlstring | nullnullable

Android-specific destination URL (Business tier feature).

Example: https://play.google.com/store/apps/details?id=com.example
custom_domainstring | nullnullable

Custom domain to associate this link with (must be an active domain on the org). Immutable after creation. None = use default short domain.

Example: go.mybrand.com
desktop_urlstring | nullnullable

Desktop-specific destination URL (Business tier feature).

Example: https://example.com/desktop-app
destination_urlstringrequired
Example: https://example.com/very/long/url
expires_atinteger,null<int64>nullable
Example: 1640995200
forward_query_paramsboolean | nullnullable
ios_urlstring | nullnullable

iOS-specific destination URL (Business tier feature).

Example: https://apps.apple.com/app/id123456789
redirect_typestring

HTTP redirect type: 301 (permanent) or 307 (temporary). Default is 301, available on Pro+ plans.

Example: 301
short_codestring | nullnullable
Example: my-custom-code
tagsstring[]nullable
Example: ["marketing","social"]
titlestring | nullnullable
Example: My Awesome Link
utm_params object
oneOf
null
CreateLinkRequest
{
"android_url": "https://play.google.com/store/apps/details?id=com.example",
"custom_domain": "go.mybrand.com",
"desktop_url": "https://example.com/desktop-app",
"destination_url": "https://example.com/very/long/url",
"expires_at": 1640995200,
"forward_query_params": true,
"ios_url": "https://apps.apple.com/app/id123456789",
"redirect_type": "301",
"short_code": "my-custom-code",
"tags": [
"marketing",
"social"
],
"title": "My Awesome Link",
"utm_params": "null"
}