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": "2024-12-19T17:49:57.951Z",
"id": "853acdc9-d705-42dc-bd42-68b1dbad3824",
"key": "sqsKGe9vaWtwVGKzbxG7yx",
"org_id": "c6be0d4f-9307-462e-87ad-b75383d99cb2",
"password_hash": "RgGTWHkgZ",
"restrict_to_org": true,
"updated_at": "2024-12-19T17:49:57.951Z",
"user_id": "365b02b2-5cf7-464c-8d0b-bf5cdbb0f92a",
"value": "https://a.0EPj.com//xLhg9J"
}
],
"next_page": "8hWbNqE2v"
}