API → OrgsGet 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-04-21T20:01:39.802Z",
      "id": "956132b8-928f-4a70-95dd-9d22e26eeeca",
      "key": "qIHr5Uc5NsySV3c73P1hsgR",
      "org_id": "463c0e6a-9b9c-4daa-b9d5-b91114ae275a",
      "password_hash": "beZpdPag86P",
      "restrict_to_org": true,
      "updated_at": "2025-04-21T20:01:39.803Z",
      "user_id": "269cd584-065f-4576-9810-b914ffc1c38e",
      "value": "https://rkOgK.FntXWL7wd7X.com/u/tn7BOyIZUwi5"
    }
  ],
  "next_page": "U"
}