Viso.li

Get a Link

GEThttps://viso.li/api/link/:slug

Returns one short link you own: its slug, the hostname it belongs to, the optional alias, and when it was created.

domain is the hostname. It is null for viso.li links and a custom hostname such as go.example.com when the link is on a branded domain.

Send Authorization: Bearer sk_api_your_api_key on every request. See authentication.

Path parameters

FieldTypeDescription
slugstringRequired. Public slug of the shortened link.

Example request

1curl https://viso.li/api/link/abc123 \
2 -H "Authorization: Bearer sk_api_your_api_key"

Success response

Returns 200 OK.

response.json
1{
2 "slug": "abc123",
3 "domain": "go.example.com",
4 "alias": "launch",
5 "createdAt": "2026-08-22T14:00:00.000Z",
6 "url": "https://example.com/bio"
7}

Response fields

FieldTypeDescription
slugstringEncoded short-link identifier.
domainstring | nullHostname the link belongs to, or null for viso.li.
aliasstring | nullCustom back-half on a branded domain, if set.
createdAtstringISO 8601 time the link was created.
urlstringDestination URL.

Errors

StatusErrorDescription
401UnauthorizedMissing, malformed, or invalid Bearer token.
404Not FoundThe slug does not exist or does not belong to you.
429Too Many RequestsMore than 10 requests per minute or 50 requests per day.
500Internal Server ErrorUnexpected server error. Retry the request.