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-11-01T17:01:06.568Z",
"id": "bcd8d9c3-a0e7-483b-b035-d03d8ff8b58c",
"key": "yUq",
"org_id": "ddb7f1cb-b14f-4a59-ba7d-5cc6d48b4b17",
"password_hash": "",
"restrict_to_org": true,
"updated_at": "2024-11-01T17:01:06.568Z",
"user_id": "f7003e19-dc05-47cf-8521-85b4ba66c462",
"value": "https://75P25S8HXd.fDT.com/PSvaM/7Sc0a4qY5"
}
],
"next_page": "YXfnvSfrUStlr5ajjhAr3DOqYjP"
}