APIOrgsGet 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-04T14:10:08.337Z",
      "id": "e0927a64-4def-427b-919f-8ae8c8e82df5",
      "key": "ZQSyX4T8",
      "org_id": "73b11ea0-12ac-468e-a11b-1a9cabff5e2a",
      "password_hash": "kyo8ZmxvG3Lw",
      "restrict_to_org": true,
      "updated_at": "2025-07-04T14:10:08.337Z",
      "user_id": "7640f073-4d38-44dc-ab94-ca03fe8473dc",
      "value": "https://JBb.9Pbhxr.com/2DR6fZ/2W9ZbLO"
    }
  ],
  "next_page": "E4cv9FewwdhMCjyl56"
}