Skip to main content

Links

13 items

Creating your first short link on Short.io

Before you consider developing your own applications to interact with the Short.io API, we recommend exploring other optimization and automation options for your processes, including our Zapier integration. It enables seamless connectivity between different tools and services without writing a single line of code.

High volume short link creation

With the Short.io API, you can shorten up to 1000 links in one API call. You can create 5 requests per 10 seconds (1 request = 1000 URLs).

Creating short links from JavaScript application

Another way to create short links is by using a POST HTTP request to https://api.short.io/links/public, with JSON body.

Creating short links from a browser

To create a short link from your browser

Updating an existing short URL's slug

The instructions below demonstrate how to edit a slug (the "path" or the end part of a URL after the backslash "/" that identifies specific page or post) of an existing short URL. This user guide can be used to modify additional parameters (for more information please visit the following page//developers.short.io/reference/post\links-linkid).

Archiving a short URL

To archive an existing short link

Unarchiving a short URL

To unarchive a short link

Deleting a short URL

To delete an existing short link

Getting a list of short links

To get a list of short links

Getting link info

The instructions below demonstrate how to get the information about a link: original URL, date of creation, domainID, mobile URLs, expiration, cloaking etc..

Get links info by original URL

In some circumstances, you may want to generate multiple short links from the same original URL, for example, to compare how your campaigns perform across different social media sites. Follow the instructions below on how to use the Short.io API to get the information for all the short links created with the same long link:

Creating an API key

The Short.io API features can only be accessed with an API key that you create for specific domain/team. Furthermore, API keys allow you to determine the purpose for which the API is used and therefore prevent fraud.

Using the TTL parameter

Short.io provides a link expiration feature, which can help you to create time-based advertising and marketing campaigns for your customers. The parameter to be used in these cases is expiresAt and can be set in either milliseconds or as an ISO string.