Dub
App · Links and QR Codes · 2 actions
Create short links with Dub and look up where existing Dub short links lead.
Expand a short link
Expand a Dub short link into its original long web address.
Inputs
- Short link
short_linktextRequired - The Dub short link to expand, for example https://dub.sh/abc123.
Outputs
domaintextidtextkeytextlong_urltextshort_linktext
Example output
{
"domain": "dub.sh",
"id": "link_abc",
"key": "abc123",
"long_url": "https://example.com/my-page",
"short_link": "https://dub.sh/abc123"
}Shorten a link
Turn a long web address into a short, shareable Dub link. You can optionally choose which short-link domain to use.
Inputs
- Long URL
long_urltextRequired - The full web address you want to shorten.
- Domain
domaintext - Optional. The short-link domain to use. Leave blank to use your Dub workspace's default domain (dub.sh on the free plan).
Outputs
domaintextidtextkeytextlong_urltextshort_linktext
Example output
{
"domain": "dub.sh",
"id": "link_abc",
"key": "abc123",
"long_url": "https://example.com/my-page",
"short_link": "https://dub.sh/abc123"
}