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-08-26T22:17:24.216Z",
      "id": "fdc6e061-3d67-46bd-aebb-cc4990099505",
      "key": "7HqRq6urfyMMMrsnO32",
      "org_id": "68c95936-2bd4-4a92-b2d3-cee3ae006ff7",
      "password_hash": "xCPUOEmgbFWhCGVh7",
      "restrict_to_org": false,
      "updated_at": "2025-08-26T22:17:24.216Z",
      "user_id": "015081d5-5bf8-4011-a451-522272763f4a",
      "value": "https://6bzarz0YIh.9K6G6sgnS.com/1R4AGSO4GO/fDaxsuVe5YL"
    }
  ],
  "next_page": "IDbQX"
}