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-10T11:07:34.582Z",
      "id": "1c54d762-4061-4af6-93fe-b015ec5b9bd4",
      "key": "mDPBM6r8BDby",
      "org_id": "fece2c6a-7132-4ebc-9c94-9e50a7230040",
      "password_hash": "p5KVgpV9GFIS",
      "restrict_to_org": true,
      "updated_at": "2025-07-10T11:07:34.582Z",
      "user_id": "a9fc39d8-6159-4e0a-97c6-ba37939ec2c3",
      "value": "https://4N..com/kMCJdKOYiqwv/8C1K2a7qDk"
    }
  ],
  "next_page": "hc6EnIFXpQgJt8eaahctprw"
}