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 3 months 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 = 1164784.

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_LIHlVyMRTPMiOxUXGxYw8.

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 = kDmNSmCI5iKB77fmZRnVu

How to find identifiers using the API

You can use the Short.io API reference page to extract specific DomainID, LinkID and FolderID.

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:

  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 Authorization field 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:

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

    • DomainID - your domain identifier

    • idString - your link identifier

Did this answer your question?