API → Users → Get the shortlinks for a user
Parameters
Name
Type
Req.
Possible values
created_at_ascending
: Sort in increasing order of "created_at".created_at_descending
: Sort in decreasing order of "created_at".
Returns
get
/user/shortlinks$ curl "https://api.zoo.dev/user/shortlinks" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"items": [
{
"created_at": "2025-01-10T17:02:23.199Z",
"id": "d9e4371c-62bf-4672-88c2-616b5f534225",
"key": "VLUXMaxZ3",
"org_id": "a8075618-8629-44ca-b246-e259bf7ac8a5",
"password_hash": "26kDxUe1mIyFzp0EfxA4GX2M",
"restrict_to_org": true,
"updated_at": "2025-01-10T17:02:23.199Z",
"user_id": "fd3315b6-f8c2-4c8a-9421-5ff120bb6dba",
"value": "https://QG4p.I3Cg.com/l/sPi6xybISO"
}
],
"next_page": "ojGnGm0Bm7ugoJgt3fNZFyTnW0jc4J"
}