APIOrgsGet 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-05-22T02:03:57.097Z",
      "id": "596b1ba2-51b4-4be6-bfce-ce96168321c7",
      "key": "BieWbR9W9xtGQRB6n",
      "org_id": "f4c0202f-e972-4e58-99b6-d968a0366488",
      "password_hash": "KP",
      "restrict_to_org": true,
      "updated_at": "2025-05-22T02:03:57.097Z",
      "user_id": "e79bc2e2-ed3d-4cc0-ab86-e5e94045e539",
      "value": "https://.KhVJ.com/DSR5QIYA2/LNQLk3YqPh"
    }
  ],
  "next_page": "ru6t4TCyX9c543BTrfQcCuEPrycna"
}