Creating Links

This page shows you how to create a new shortened link.

Base URL:

https://r.tinvn.eu.org/api

Endpoints:

GET /new

Query Parameters

Name
Type
Description

url(required)

string

URL that needs to be shortened

Example Request

curl -X GET "https://r.tinvn.eu.org/api/new?url=<url>" 

Response

{
  "id": 1, 
  "message": "OK", 
  "original_url": "https://example.com", 
  "short_id": "JxMaxj", 
  "short_url": "http://r.tinvn.eu.org/JxMaxj", 
  "status": 200
}

Errors

Code
Description

ER1

You didn't provide a url.

ER2

Invaild URL provided.

Last updated

Was this helpful?