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-31T17:20:53.411Z",
      "id": "9b11f036-dad1-482e-bf55-b70afda10e00",
      "key": "w9FRVqIGZmsZqioN",
      "org_id": "9ae8f2ba-2c36-4a33-b243-39ac439ddc5e",
      "password_hash": "SmPAbGiAhYy69DzuUalV",
      "restrict_to_org": true,
      "updated_at": "2025-07-31T17:20:53.411Z",
      "user_id": "3546deaf-0507-4ff6-a6f7-e1a6f501e7d7",
      "value": "https://NYup1nl.2Ysbl9UsazZn.com/yq6oVda/NVOd"
    }
  ],
  "next_page": "GSKFCKxWI6wJpy0tw"
}