Skip to main content

How to retrieve domain, link and folder identifiers from the Short.io URLs and API

The instructions below will help you locate the unique IDs of the Short.io domains, links and folders.

Before you begin, sign in to your Short.io account.

How to find DomainID

  1. In the Dashboard navigate to the Branded links panel.

  2. You can extract the domain identifier from the URL address:

    Browser URL bar showing domain ID in the Short.io dashboard address

    URL address bar with DomainID number highlighted

    In this case, DomainID = 1165787**.**

How to find LinkID (IdString or linkIdString)

  1. In the Dashboard navigate to the Branded links panel.

  2. Click on to edit a link:

    Branded links list with edit pencil icon highlighted

  3. You can extract the link identifier from the URL address:

    URL address bar with link ID string highlighted in the edit page URL

    In this case, LinkID = lnk_4Th1_2sDCsL97sD1WegKXdEVoK**.**

How to find FolderID

  1. In the Dashboard navigate to the Branded links panel.

  2. Click on a folder to display its links:

    Dashboard URL with folder ID parameter highlighted in the address bar

  3. You can extract the folder identifier from the URL address, which in this case is:

    FolderId = OSE5BWDxBxdAS-oBVN-0f

How to find identifiers using the API

You can use the Short.io API reference page to extract specific Domain, Link and Folder IDs.

Before you begin, make sure you have created an API key.

Steps to follow

  1. Sign in to your Short.io account.

  2. From the Branded links menu click on to edit a link:

    Branded links list with edit pencil icon highlighted

  3. Copy the link's slug from the Basic link editing section:

    Link editing page with Link slug field highlighted

  4. Open the Short.io API Link info page.

  5. In the Query params panel enter the following information:

    • domain name

    • link slug (path part of your link)

    API Link info page with domain and path query params filled in

  6. In the Credentials section enter your API key:

    Credentials section with API key header and Try It button highlighted

  7. Click on Try it.

  8. In the Response panel you can review the result:

    API 200 response with link details including idString and copy button

  9. Click on to copy the entire response and paste it in a text editor. The following information is available:

    • idString - your link identifier

    • FolderId - if your link belongs to a folder, this is its identifier

    • DomainID - your domain identifier

    JSON response with idString, FolderId, and DomainId fields highlighted