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-05-09T08:26:03.830Z",
      "id": "2aa2d73c-8c3b-44fc-8740-87c741b175c7",
      "key": "R6XUn",
      "org_id": "b0641d8a-22ec-42a4-9662-553b6b760d75",
      "password_hash": "q2BLNYylZbQelIMQ",
      "restrict_to_org": false,
      "updated_at": "2025-05-09T08:26:03.830Z",
      "user_id": "c2f666e3-a2cb-43de-9f1e-f5b9a455ef1e",
      "value": "https://A7yyR7DMXrnT.UGK7KOrpc.com//niP"
    }
  ],
  "next_page": "fiWmdOGP"
}