Skip to main content
POST
/
resolve-url
Resolve a URL
curl --request POST \
  --url https://api.example.com/resolve-url \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://truststack.link/<UUID>"
}
'
{
  "url": "<string>",
  "target": "<string>",
  "status": "resolved",
  "identifier": "<string>",
  "resolutionType": "redirect"
}

Body

application/json
url
string
required

The url to resolve

Example:

"https://truststack.link/<UUID>"

Response

200 - application/json

The URL has been resolved

url
string
required

The URL that was resolved

target
string
required

If a redirect, this is where you have been redirected to. Otherwise, it is just the url provided

status
enum<string>
required

The resolution status

Available options:
resolved,
not_found,
invalid,
error
identifier
string

Identifier associated with the url, if found.

resolutionType
enum<string>

The type of resolution that occurred

Available options:
redirect,
linkset