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-04-25T16:40:43.715Z",
"id": "cfc2d901-7888-43d2-91e7-d51b3b6f51e9",
"key": "QM4L3dYG5V6zVxlZRKD9tXHPZD8d",
"org_id": "00712d54-e84c-4489-88e1-fa0c52948249",
"password_hash": "EPRtsRCpSEvm",
"restrict_to_org": true,
"updated_at": "2025-04-25T16:40:43.715Z",
"user_id": "d2d1d85d-4167-43b3-b6ab-aa58579dfd41",
"value": "https://1epMX8uFuYG.bboBVM.com/U/l3a6zhoA6"
}
],
"next_page": "c7x5ZbIilZDALundS"
}