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-04T12:26:31.827Z",
      "id": "25953198-45e2-4250-8066-31f6fc6ae810",
      "key": "zoFIMAFcexUcRRXEa0r",
      "org_id": "fbb095ca-f4b6-4537-b688-5df3a0a8fc25",
      "password_hash": "BLCv2QHODQXygr26Ttq",
      "restrict_to_org": false,
      "updated_at": "2025-07-04T12:26:31.827Z",
      "user_id": "2f00b2da-5198-4e15-b39c-801450bf6719",
      "value": "https://P.xG8fzb0dk0JV.com//3i"
    }
  ],
  "next_page": "R8cx91xbD6FD8mNN2Hh"
}