GET
/
links
/
{alias}
curl --request GET \
  --url https://ishortn.ink/api/v1/links/{alias} \
  --header 'x-api-key: <api-key>'
{
  "shortLink": "https://ishortn.ink/customAlias",
  "url": "https://example.com",
  "alias": "customAlias",
  "expiresAt": "2024-12-31T23:59:59Z",
  "expiresAfter": 1000
}

Authorizations

x-api-key
string
header
required

Path Parameters

alias
string
required

The alias of the shortened link.

Query Parameters

domain
string

The domain of the shortened link. If not provided, the default domain will be used.

Response

200
application/json

Link details retrieved successfully

The response is of type object.