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-03T10:09:19.852Z",
      "id": "b64ca77c-a8f7-4b74-a84e-46216eea96ba",
      "key": "nk2GUwiAba7ESakw8zG6JGLStU9Nm",
      "org_id": "d8fb3544-2ec6-430a-9c06-5168d3c778be",
      "password_hash": "CuozWtZTZUBGUP4GvXhGpnBKiuk",
      "restrict_to_org": true,
      "updated_at": "2025-07-03T10:09:19.852Z",
      "user_id": "9c6d5bbe-a20d-47c4-94a9-4c39fbe8baec",
      "value": "https://nwXt.j.com/NFFp6hb/75PvsV"
    }
  ],
  "next_page": "sYv"
}