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-21T16:37:41.337Z",
"id": "6250ace8-3334-4f3a-b1f9-e108f5f8e192",
"key": "mf3ith29IcL51Z",
"org_id": "3cf12172-4232-49d0-b98b-c97ed31f9bd6",
"password_hash": "9d",
"restrict_to_org": true,
"updated_at": "2025-02-21T16:37:41.337Z",
"user_id": "234ad0d9-d6d7-414b-bec7-570c05e20775",
"value": "https://fJfS4ZQZV.uGLw.com/s0kr/MYuotduV"
}
],
"next_page": "EzPVFt4RWgOkJs4Sq"
}