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-05-30T23:20:18.837Z",
      "id": "65a0d6e9-b4fb-432b-a5db-0f0a1c4ec5ef",
      "key": "XD",
      "org_id": "e081081f-e82e-4f1e-872c-37e31f0e739b",
      "password_hash": "pufZAlfHICirxsEJCzwtSB",
      "restrict_to_org": false,
      "updated_at": "2025-05-30T23:20:18.837Z",
      "user_id": "9fd04114-2dd0-44a1-bbf6-899489dedd0f",
      "value": "https://JBt.5f62BP.com/uGc/nNI8ajMcNsq"
    }
  ],
  "next_page": "FWTZXrCG2K5Z8a4yX8nqUd"
}