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-08T23:03:25.304Z",
      "id": "d119889e-274d-40e6-a7cb-d30990b1ebf9",
      "key": "t9DonRnIVMWh1uFHapXQCdCiht",
      "org_id": "5303ada5-8e56-48e2-bad7-b9412ff7cdf0",
      "password_hash": "TCzWWpu2gbnBurmjnfDgqQ4o",
      "restrict_to_org": false,
      "updated_at": "2025-05-08T23:03:25.304Z",
      "user_id": "584c399f-b65d-46b6-a2b3-8f9a802fa0bb",
      "value": "https://uz.Bi7CVmomM.com/3D9VKj8w/XdiqckKSpgR"
    }
  ],
  "next_page": "h0WkWQUWCOti2anuvrpZZ1juSPPFr"
}