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-07-01T20:12:46.499Z",
      "id": "7b5941dc-e357-40ac-85ec-60b7015077cf",
      "key": "W5KdsPo56F7pqPEDpue2Zl4a",
      "org_id": "404068e6-6abd-4330-95b7-69182f0d3b25",
      "password_hash": "2swn41UpiEpMrgecfHePaZIh",
      "restrict_to_org": false,
      "updated_at": "2025-07-01T20:12:46.499Z",
      "user_id": "cde3061a-102d-456c-b9fd-2ff36b79bdc5",
      "value": "https://NiTQ0bj3.aEXysIo.com/FxIQqJQzm/s"
    }
  ],
  "next_page": "yB8pguFO"
}