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-07-04T14:10:59.718Z",
      "id": "aa752675-0016-4b79-99ca-70631b5e2e86",
      "key": "ZIjMVpRvzSGNJNCLO1GQbqcb6VXZd",
      "org_id": "92f50511-8416-43b6-b305-74b5f66cea07",
      "password_hash": "bbqx9KQuCt",
      "restrict_to_org": false,
      "updated_at": "2025-07-04T14:10:59.718Z",
      "user_id": "b00f63a8-5100-4ff1-85dd-58e482ff218e",
      "value": "https://zR.p.com/x3oZY/I"
    }
  ],
  "next_page": "GIeDSHDyud0J16HBBDXbvDpo0siIO"
}