Skip to main content
All CollectionsAPI and Technical Questions
How to retrieve domain, link and folder identifiers from the Short.io URLs and API
How to retrieve domain, link and folder identifiers from the Short.io URLs and API
T
Written by Tsvetana Dimitrova
Updated over a month ago

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:

    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:

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

    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:

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

    In this case, FolderId = bQs5VVBPnq9WO9M0Sm7YZ

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:

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

  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)

  6. In the Credentials section enter your API key:

  7. Click on Try it.

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

  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

Did this answer your question?