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-06-13T18:06:43.275Z",
      "id": "f41bb79d-a7fd-4163-8dfb-438ccd9169e1",
      "key": "mH",
      "org_id": "231ab888-b6f1-44d3-a5b1-8c91bf488097",
      "password_hash": "bZieH",
      "restrict_to_org": true,
      "updated_at": "2025-06-13T18:06:43.275Z",
      "user_id": "c8e14ef7-a8ec-4956-8108-c7d3c9ad03f1",
      "value": "https://SRTW.Vt.com/x/"
    }
  ],
  "next_page": ""
}