API → Orgs → Get the shortlinks for an org
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
/org/shortlinks$ curl "https://api.zoo.dev/org/shortlinks" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"items": [
{
"created_at": "2024-12-19T17:49:13.515Z",
"id": "6fe0c4eb-c907-4b4e-8584-d305130316e0",
"key": "sICto2e",
"org_id": "f602f695-0387-48ca-b4e1-e7f1bd786c89",
"password_hash": "5Jx",
"restrict_to_org": true,
"updated_at": "2024-12-19T17:49:13.515Z",
"user_id": "ca05aeb0-a498-4156-bec7-f734797954a9",
"value": "https://C3MVq.y0CyTBHWS.com/AjIqorx0/MTEEYFeiJ5B4"
}
],
"next_page": "C6NJjhJfee792uxYn"
}