Skip to main content
GET
/
urls
/
{url_id}
Get short URL
curl --request GET \
  --url https://api.smartlyq.com/v1/urls/{url_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": 123,
    "short_url": "<string>",
    "long_url": "<string>",
    "slug": "<string>",
    "created_at": "2023-11-07T05:31:56Z"
  },
  "meta": {
    "request_id": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Path Parameters

url_id
integer<int64>
required

Response

Success

success
enum<boolean>
Available options:
true
data
object
meta
object