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-03-14T16:50:49.591Z",
"id": "f435aa45-7a86-4df5-bcce-f5b36367b17c",
"key": "G06U",
"org_id": "e1f58c52-1ee0-48bb-89a6-857e70ce5452",
"password_hash": "uP9Cmcc3",
"restrict_to_org": false,
"updated_at": "2025-03-14T16:50:49.591Z",
"user_id": "0582fe4f-8d8c-4cce-a765-55c0f9d08ce4",
"value": "https://8.iI9NKWEFYd.com/8QOt/IyHnPbE5gim"
}
],
"next_page": "FMm8dkewEiT95WQlGS7hN6JEj8huO"
}