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-08-14T21:14:38.671Z",
      "id": "4786401b-8052-47ff-ae24-08785a71830f",
      "key": "Z0iBTMvu",
      "org_id": "90893193-dc59-4115-8c43-9896c02176c5",
      "password_hash": "lpSC",
      "restrict_to_org": true,
      "updated_at": "2025-08-14T21:14:38.671Z",
      "user_id": "34b68eb0-9687-472d-aabb-590ccdba878f",
      "value": "https://zsKSY.w.com/wIha7wZdp/4jUnZ"
    }
  ],
  "next_page": "1"
}