APIShortlinksGet 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:15.415Z",
      "id": "b1d8ccfd-6a63-44ce-ad42-67ccd68a7677",
      "key": "8Mr2UrxVBK",
      "org_id": "469100c2-14ae-46b1-859b-de72ca5034da",
      "password_hash": "K4VeBzGjQ2jgkLOlUHw",
      "restrict_to_org": false,
      "updated_at": "2025-07-10T11:07:15.415Z",
      "user_id": "f7396053-633c-48ce-92a4-2f1228a104d8",
      "value": "https://B4bCS.jxALERQz.com/Gz8/"
    }
  ],
  "next_page": "DA5kY1c6i"
}