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-13T18:06:18.937Z",
      "id": "82017c14-9c91-4727-91cd-1bb97bdb5fce",
      "key": "z4eBrb3n",
      "org_id": "c2e4e073-de3f-40df-9637-146fe6047454",
      "password_hash": "7exjm3EvqDFkEvsfD9ADBUmQ80",
      "restrict_to_org": false,
      "updated_at": "2025-06-13T18:06:18.937Z",
      "user_id": "66041798-d53d-4a9f-a267-05368443d17e",
      "value": "https://3IW8cJ14.d.com/Ks9FKs6UlSq/pIzcugWzmG1i"
    }
  ],
  "next_page": "5YAGlNZq0em3EuRNsdEqFTI0YH"
}