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-15T17:15:48.097Z",
      "id": "13156e5b-6ab5-443c-8f41-d3fc24dc9259",
      "key": "oAbFoh9WmzHsP",
      "org_id": "9849cc50-21ff-4723-9ad0-dd0877843c1f",
      "password_hash": "O7pCZzDK4sbTb8mgc",
      "restrict_to_org": true,
      "updated_at": "2025-07-15T17:15:48.097Z",
      "user_id": "cb1aa264-7ccd-49ff-9416-c6aaedbebc76",
      "value": "https://y.Brwbyfk.com/SrYt6/e"
    }
  ],
  "next_page": "tnAHeDrWuo7cO6S"
}