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-01-07T17:17:53.384Z",
"id": "53a95dda-2b3c-467e-8c8b-65bc15c05fe2",
"key": "x9j0XSx1zRI4slqqFYXzImeNUP",
"org_id": "01f2186c-6eb7-4c59-875e-3994c6954577",
"password_hash": "qJsrRiuAPpJuTaFMPI8MLTP",
"restrict_to_org": true,
"updated_at": "2025-01-07T17:17:53.385Z",
"user_id": "345b7afb-ec69-40d5-a9b1-9ba82a9d4448",
"value": "https://r2j..com/7Om4VY/9Fcgl3gqs5XT"
}
],
"next_page": "9"
}