APIShortlinksGet the shortlinks for an org

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
/org/shortlinks
$ curl "https://api.zoo.dev/org/shortlinks" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "created_at": "2025-09-06T05:30:28.446Z",
      "id": "e019d4d3-7f1a-4c94-8dd7-87f3b0cf2efe",
      "key": "x9UX7uz4WT6XxcG",
      "org_id": "bd9dc2d9-af02-432f-bc86-4bc8d7cfeb85",
      "password_hash": "1vDRNoQ0iQ",
      "restrict_to_org": false,
      "updated_at": "2025-09-06T05:30:28.446Z",
      "user_id": "61973b5c-4ad9-4728-be82-cd95a897ee05",
      "value": "https://djz8.AKDK.com/Yy/qpfGgi"
    }
  ],
  "next_page": "yv6whC0uBP2kRXOpQb1x9b"
}