APIShortlinksGet the shortlinks for an org

Parameters

Name

Type

Req.

  • limit

    integer
    optional
  • page_token

    string
    optional
  • sort_by

    string
    required
    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-06-13T18:06:42.112Z",
      "id": "d2f93027-5966-4be8-bbbc-66d797dcbcb6",
      "key": "26Ec",
      "org_id": "4d46963c-6663-40bf-bd16-83d761c049b5",
      "password_hash": "4GrNJfjoORsjAgvAsILFEj5",
      "restrict_to_org": false,
      "updated_at": "2025-06-13T18:06:42.112Z",
      "user_id": "9507aa75-1b12-477b-94be-1b8b3f6bfb62",
      "value": "https://pjZGYf0ig3..com/xKeLPw7/LKQL"
    }
  ],
  "next_page": "x0G6"
}