APIUsersGet 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-05-30T23:20:47.121Z",
      "id": "8b45175c-98f7-4c9e-bab7-6940e6ec79fb",
      "key": "00deZzJ3q803",
      "org_id": "be51b0e4-af08-498e-861a-ac288c9cf71d",
      "password_hash": "KS6Svc35xsazCOFdi",
      "restrict_to_org": true,
      "updated_at": "2025-05-30T23:20:47.121Z",
      "user_id": "fd9dfaec-3a98-40ac-b149-84d0747ee77d",
      "value": "https://ZBoUP.ysF.com/0Vl/w9mu7t7U"
    }
  ],
  "next_page": "PVUwPh6krE6"
}