Dynalinks
Short links

Shorten a link

POST
/short_links
Shorten long URLs and resolve short links back to their target.

Creates a shortened link for the given URL.

Rate Limit: 600 requests per minute.

Authorization

headerAuthorization<token>

Format: Authorization: Token {api_key}

Request Body

URL to your dynalink which should be shortened

application/json
  1. body
url*string

URL to shorten

prefix?string

Prefix for the shortened link. Your link will be shortened to {prefix}{randomCharacters}. Rarely used.

Response Body

Created

application/json
  1. response
id*string

UUID of the link

Formatuuid
name*string|null
path*string
url*string
social_description*string|null
social_image_url*string|null
social_title*string|null
shortened_path*string|null
android_fallback_url*string|null
ios_fallback_url*string|null
enable_forced_redirect*boolean
referrer*string|null
ios_deferred_deep_linking_enabled*boolean
provider_token*string|null
campaign_token*string|null
android_app_id*string|null
ios_app_id*string|null
clicks*integer

Number of clicks/views for this link

Example Request
curl -X POST 'https://dynalinks.app/api/v1/short_links' \  -H 'Content-Type: application/json' \  -d '{  "url": "https://yourproject.dynalinks.app/someLongPath"}'
Example Response
{  "id": 1,  "name": "Example Link",  "shortened_path": "a4b2c"}