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-04T14:10:37.325Z",
      "id": "7a2d1769-db2c-429c-8bd2-ad7b66c1d264",
      "key": "PqTvUwesHOK5Olih9c",
      "org_id": "650bc039-8f82-46af-bd5c-4180f7e70bbb",
      "password_hash": "m7VelUf9QVg94KLWAqbGbgWmeQHp",
      "restrict_to_org": true,
      "updated_at": "2025-07-04T14:10:37.325Z",
      "user_id": "ab02f34a-ede5-4161-a809-8a0abb5b376a",
      "value": "https://B9ZqQNH.JAvXF.com//oGN"
    }
  ],
  "next_page": "bu7nmcbcnLGEsn3f"
}