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-08-14T21:15:05.288Z",
      "id": "92f363dc-8973-4e8d-a1be-294ca364e139",
      "key": "jLZhQ1zHICmiCu0lKBWU",
      "org_id": "e2255f4d-d341-4c2c-93d4-abebd5bcfda1",
      "password_hash": "Fnv5yW1IIdi9ze",
      "restrict_to_org": false,
      "updated_at": "2025-08-14T21:15:05.288Z",
      "user_id": "d9c8ef90-4f7e-4d95-ba48-c857e3d7e02e",
      "value": "https://.ZIp1e4DVj.com/JnTDearFL/ddz6"
    }
  ],
  "next_page": "b6VK4ii76DjrB6"
}