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-03T15:42:11.256Z",
      "id": "f523ba44-e508-4ffa-a0c9-6bcf21845751",
      "key": "puNO",
      "org_id": "b31bca13-414d-446f-98c8-341779658171",
      "password_hash": "tZ",
      "restrict_to_org": false,
      "updated_at": "2025-07-03T15:42:11.256Z",
      "user_id": "e4a526a3-1105-46bf-b045-80408d05927d",
      "value": "https://O98p.fJm9Qc0y3ryx.com/IkddZp32id/DVYr"
    }
  ],
  "next_page": "ok"
}