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-06-30T19:21:50.233Z",
      "id": "228312c3-2d85-4e94-a5d7-1f4f0e3e7333",
      "key": "tEUPZSoMfIpSrOgODtJQDrh7",
      "org_id": "aa663f26-103a-459c-b1a3-150de9e8373f",
      "password_hash": "2YS2QMUNP56EoUx6YIRleh9sh1d794",
      "restrict_to_org": false,
      "updated_at": "2025-06-30T19:21:50.233Z",
      "user_id": "04b773eb-e54e-4aa3-91ad-adc5535d2097",
      "value": "https://e.H.com/CZHLpa36xpbM/ui"
    }
  ],
  "next_page": "lIq0KSCSqBl0RDriaZ"
}