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-07-15T17:16:13.131Z",
      "id": "ce5c2f3d-e182-4022-aab7-32ccdb9fa3f6",
      "key": "IIGwq9ivU4TFwaa6fA9I3LorrPQH11",
      "org_id": "039ffc6d-3622-4c28-b69d-987496a5f136",
      "password_hash": "4DEDiUVUg",
      "restrict_to_org": false,
      "updated_at": "2025-07-15T17:16:13.131Z",
      "user_id": "f9b3b54a-db53-4033-bdd4-a9245e383643",
      "value": "https://h.nXwbuY.com/a/gvGZSAD6jdsr"
    }
  ],
  "next_page": "MVLZ8q8f9MMOWGuZ66czy"
}