APIUsersGet 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-06-13T18:07:05.607Z",
      "id": "9cb8bafb-1188-4c58-a6dc-853e9fc56ba1",
      "key": "UqGhiCN2k4E4tX",
      "org_id": "3831628a-02f4-466b-8a7b-c175211ea78b",
      "password_hash": "BUg6mB0CqqDG5k5LbAXCESaCouyV1",
      "restrict_to_org": true,
      "updated_at": "2025-06-13T18:07:05.607Z",
      "user_id": "a13a4106-08c7-497a-b494-7fa81e209875",
      "value": "https://yvich.trL.com/s/w8j"
    }
  ],
  "next_page": "bWGmf8f8iDW"
}