API → ShortlinksGet 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-04-25T16:40:18.707Z",
      "id": "fd796a07-f130-4a30-8b3e-4e14bb474524",
      "key": "2ORhvktMsdfLc4bZ7wxbV",
      "org_id": "e3438ea5-1359-43a9-993a-9ac4bd8cb591",
      "password_hash": "oy4ZFAP9TVik79Ff5dqOL2O2fIf",
      "restrict_to_org": false,
      "updated_at": "2025-04-25T16:40:18.707Z",
      "user_id": "c1f63e5d-9328-45e6-84c8-7904cd3ac8c2",
      "value": "https://f.SOE.com/1tU/amBJNx8oO0"
    }
  ],
  "next_page": "YqUsX7PqQhr0hzK"
}