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-08-14T21:15:03.937Z",
      "id": "9aa060d7-4f7f-40d2-968c-f27b198fbfcf",
      "key": "efkuBDChuyzDAlR6HSBMl7C5Lm",
      "org_id": "3cb4df3c-80c3-4809-8122-c7612cabb0a7",
      "password_hash": "48p",
      "restrict_to_org": false,
      "updated_at": "2025-08-14T21:15:03.937Z",
      "user_id": "a527679e-81c1-4310-82ec-3cd7d1260766",
      "value": "https://O2D1tz8.yn.com/0aoRtV9o4C/"
    }
  ],
  "next_page": "X"
}