APIShortlinksGet the shortlinks for a user

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
/user/shortlinks
$ curl "https://api.zoo.dev/user/shortlinks" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "created_at": "2025-07-25T20:54:16.270Z",
      "id": "efb806e2-6fa3-4bf8-92cf-db23f0243df2",
      "key": "Acg1S8rwImHzFA",
      "org_id": "908c7bd8-d23a-49ca-a0fd-27d0089764af",
      "password_hash": "AgcW",
      "restrict_to_org": false,
      "updated_at": "2025-07-25T20:54:16.270Z",
      "user_id": "3d8183f7-da45-442c-a33f-b357d55cf0a1",
      "value": "https://.uYL3x5.com/1mq/l8R"
    }
  ],
  "next_page": "VJmeVDwnYX5gjWj7zrbMURM7KompC"
}