API

LnkRed Means Cooperation

LnkRed Integration

The easiest way to keep in touch with LnkRed's world of shortening URL - to add bookmark. When you click on it your current page shorted automatically. For creating quick link, just drag the link below in the bookmarks.
Our API provides a wide range of formats for generating links.
Regardless of the option chosen for each request, you will need a unique identifier:

Attention! For getting Authorized Token, login please!

Request format:
https://lnk.red/generate.html?link=&token=
Response format:
YOUR_NEW_SHORT_LINK
Where,
- Your URL which have to be shorten;
- Your authorized Token;
YOUR_NEW_SHORT_LINK - Created shorten URL;

Request example:
Request Method: GET
Request URL: https://lnk.red/generate.html?link=http://mysite.com/ru/d/&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Resopnse example:
Response body: https://lnk.red/KwioqM
Response format:
https://lnk.red/generate.html?link=&token=&type=
Response format:
<RESPONSE HEADER> Location: YOUR_NEW_SHORT_LINK
где,
- Your URL which have to be shorten;
- Your authorized Token;
- Returned response format;
YOUR_NEW_SHORT_LINK - Created shorten URL;

Request example:
Request Method: GET
Request URL: https://lnk.red/generate.html?link=http://mysite.com/ru/d/&token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&type=HEADER
Resopnse example:
<RESPONSE HEADER> Location: https://lnk.red/KwioqM