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-17T16:14:10.203Z",
"id": "873f23ba-6e44-4779-9ff8-d9fa6e465966",
"key": "YstLHppzIhgvPf8",
"org_id": "d2748503-34e2-4fd1-bf8f-2e02bcce559e",
"password_hash": "OOP4rvbCyZxmm9I5AIPAUkRPX40a",
"restrict_to_org": false,
"updated_at": "2025-01-17T16:14:10.203Z",
"user_id": "0e876b38-e916-49bc-ac0b-f55b473cce5b",
"value": "https://WKvvOi2He.D.com/oLRAIphbOy/cV"
}
],
"next_page": "iu3NN"
}