Short.cm API: How to Implement a Shortener to Your App
Make your service advanced with shortening functions by implementing some link shortener’s features to your app through the application programming interface. API allows developers to use the already coded blocks to build an application.
For example, the Facebook API lets you leave Facebook comments on different websites and sync those comments with a Facebook page.
Short.cm API for Developers
The Short.cm API is based on the account API key as it provides access to API and Short.cm features. Your personal API key lets you check for what purposes API is used to avoid fraud.
With code snippets , you integrate the following operations to your application:
- shorten a link;
- create links in bulk;
- update the original URL, title or path for existing URL by ID;
- add a domain;
- return list of country rules for a given link;
- request the domain list;
- get link click statistics
- delete a short URL;
- observe the statistics of a shortened URL;
- create a QR code;
- archive a URL.
The Short.cm API page is easy to navigate and has a clear structure that helps to find the content you’re looking for much faster. Moreover, you can test the codes straight on the page by clicking "Try it out."
API is available for all types of price plans. You just need to be a Short.cm user to get your personal API key for further use of API docs.
Learn the technical details of using the Short.cm API in the API docs. For passing an authentication process, use your API key as Authorization header. The personal API key is located on the “Integrations &API” page.
The API key is private and unique, and it gives access to all your links. To secure the account, manage the API key visibility — that really helps to keep your private data safe.
After installing some shortening functions to the app, customers can use your branded domain, like Twitter users who shorten links with t.co. On the contrary, customers can create short links with their own branded domain, which adds value to the clients.
If your company wants to add shortening and click-tracking functions to a product, ship it fast and cheap with the Short.cm API. It allows testing the influence on sales.
What did you learn?
- How to shorten links straight from your app?
- How to add a URL shortener to your website?
- Short.cm API for Custom URLs.
- API for developers.