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-05-09T08:27:23.832Z",
      "id": "4f457b7b-e6f2-45f3-aee8-a74850bb62c8",
      "key": "zoyt2R9xOFi5FrbiJdI89FT8i",
      "org_id": "12eac6a6-de20-4f7a-9a1f-e3a8d839a04b",
      "password_hash": "yvkOjzPma7cJcAcfMs5vdr",
      "restrict_to_org": false,
      "updated_at": "2025-05-09T08:27:23.832Z",
      "user_id": "0ea87ff5-3491-4fda-a20a-9ba54fb6d989",
      "value": "https://.IlVfNMOCx.com/c7/"
    }
  ],
  "next_page": "smqTsNu"
}