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-03-12T16:54:24.896Z",
"id": "8882ab9d-9ea4-470e-8d7e-389a17a34148",
"key": "zBy0QartHIpNFioaPB5wg",
"org_id": "78451466-9918-48fa-802e-cabf0c445f63",
"password_hash": "86njS4NK0G2TDXYsc6iUDVMJM7",
"restrict_to_org": true,
"updated_at": "2025-03-12T16:54:24.896Z",
"user_id": "a63492ec-087b-4d0e-bf78-e5bc1f889720",
"value": "https://hHJnxCqnP7.UT.com/ncl6/Pyqv4hyy9h"
}
],
"next_page": "xVdkVY96UxUAj2DHauCA2vX2Tx"
}