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-25T20:53:49.225Z",
      "id": "bf07c2f9-2b50-4eac-a20d-bb86f1a54141",
      "key": "XnOQnfkIBXNq",
      "org_id": "0495e653-c626-4eb0-8ca4-acb8f61420c7",
      "password_hash": "RrmtgAIXeuXHudnQTqr5kHVOd9YGE",
      "restrict_to_org": true,
      "updated_at": "2025-07-25T20:53:49.225Z",
      "user_id": "37901f43-4228-4787-ba50-3589b9ff187c",
      "value": "https://c.Ykm.com/NvWZFilxpRUg/yh0d3"
    }
  ],
  "next_page": "Bcth9tXWPwCFx5QUJfSRQh"
}