GET
/api/v6/urlshortener/links/{domain}/{code}Get a short link
One of your links by domain and code.
Scope and limits
Scope
API key with the urlshortener service enabled
Usage limit
60 requests per minute
Returns one short link you own. A link belonging to another account returns 404: its existence is not disclosed.
Path parameters
domainstringrequired
Domain of the link.
codestringrequired
Short code or alias (lowercase).
Responses
200
The link.
{
"success": true,
"data": {
"id": 1024,
"code": "a1b2c3d",
"domain": "go.acme.co",
"shortUrl": "https://go.acme.co/a1b2c3d",
"longUrl": "https://example.com/landing?utm_source=sms",
"alias": false,
"active": true,
"expiresAt": null,
"createdAt": "2026-06-01T15:04:05Z",
"clicks": 0,
"uniqueClicks": 0,
"lastClickAt": null
},
"meta": {
"requestId": "8f0c0e2a4b1d4c8fae2b7a91e0c5d3f6",
"timestamp": "2026-06-01T15:04:05+00:00",
"responseTimeMs": 7.2
}
}401
Invalid or missing credentials.
404
No link with that domain and code.
429
Request limit exceeded.
Possible errors
Codes this endpoint can return in error.code. The full detail lives in the catalog.
401
See the full catalogAUTH_REQUIREDNo Bearer token was sent, and every call requires one.401AUTH_INVALID_KEYThe API key is not recognized: wrong format, revoked or expired.401AUTH_SERVICE_NOT_ALLOWEDThe key is not allowed to use the service behind this endpoint.404LINK_NOT_FOUNDNo link with that domain and code.429RATE_TPS_EXCEEDEDYou exceeded your organization quota for this endpoint.