Skip to main content

/api/v1/urls/[id]

This endpoint requires authentication using an API key.

GET: Get shorturl details

Params

  • [id]: The shorturl id

Headers

  • Authentication: API-KEY-HERE

200 (OK)

FieldTypeDescription
dateDateThe upload date
domainstringThe user this shorturl is from
urlstringThe url this shorturl leads to
idstringThe name of the shorturl
visitsnumberThe amount of visits the shorturl has
visiblebooleanWhether the shorturl is visible to everyone or not
{
	"date": "2023-10-17T11:37:49.109Z",
	"domain": "cdn.ijskoud.dev",
	"url": "https://google.com/",
	"id": "8KyUGj0gDfRD",
	"visits": 7,
	"visible": true
}