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": "2025-02-11T16:12:37.687Z",
"id": "024f8443-6989-494b-b8c9-9ab99633d0a0",
"key": "",
"org_id": "60f49258-3eae-4c6f-ac2f-76009903f32c",
"password_hash": "lcJE543rHin1v8Gl",
"restrict_to_org": false,
"updated_at": "2025-02-11T16:12:37.687Z",
"user_id": "0716f296-2484-4a02-a8e2-cf7aa70f8911",
"value": "https://fLmFbN31N9EA.qKagBzfS29.com/4gIhml8/jvdoWZT4"
}
],
"next_page": "bx6JQcBDWpYlQPRM8IM"
}