API → Shortlinks → 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": "2025-02-27T21:31:17.348Z",
"id": "1064f74e-ea27-4dcf-8b26-6fa40c709d22",
"key": "XW841SbN09",
"org_id": "c376c238-bc87-421c-bf7e-7e12577faf4c",
"password_hash": "MzHNo887A0PHtztzuMgycR",
"restrict_to_org": true,
"updated_at": "2025-02-27T21:31:17.348Z",
"user_id": "9af834ef-5310-4576-83d5-720603fe37c8",
"value": "https://AF.bKiNhcJfXOEw.com/o8YO/731A9D"
}
],
"next_page": "4YJ5FabbO26mDC1oR4Q117YVS4R1qc"
}