API → ShortlinksGet 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:02:18.788Z",
      "id": "e1b9a6f9-4632-421b-aa78-069d01be25e4",
      "key": "ol",
      "org_id": "e14ebcb2-aef0-4199-91d9-6fe941b34ed6",
      "password_hash": "nZZkUrDZBQeXuhzonRYTCZrR35",
      "restrict_to_org": false,
      "updated_at": "2025-04-21T20:02:18.788Z",
      "user_id": "0946f229-f6a1-4273-9429-3283db1d1348",
      "value": "https://O2tdBhjdsA6Y.z54y.com/A/dAcH"
    }
  ],
  "next_page": "ItOS5xCXqFpahIRzABb"
}