API → Shortlinks → 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-04-21T20:02:23.968Z",
"id": "6d802865-4129-4b92-88f4-cff661056a7a",
"key": "eGxUxtW9bV1Fo",
"org_id": "be1dd5ae-62c9-4dc9-9ae5-e269a0052b4a",
"password_hash": "mxUYQLKVoviFpv4wU",
"restrict_to_org": true,
"updated_at": "2025-04-21T20:02:23.968Z",
"user_id": "5a609543-9a30-4692-8b80-446ddfb94ed4",
"value": "https://hGklv8vFGru.807f.com/Jx/lTAO7cb"
}
],
"next_page": "iQZWzFm1xDEk"
}