APIOrgsGet 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-05-30T23:19:47.360Z",
      "id": "beb6e4e2-a98f-406c-807a-e00bb5bc34cc",
      "key": "cvwBe7",
      "org_id": "6e299e10-56ed-4844-b25c-02009a27c994",
      "password_hash": "roxANOrxZAe70ORkyiz4yNdxVtviKI",
      "restrict_to_org": true,
      "updated_at": "2025-05-30T23:19:47.360Z",
      "user_id": "913d024f-267e-4fc1-a8b5-d3d06090af41",
      "value": "https://.Um2U0jqE.com/1ZE8BPHKB/"
    }
  ],
  "next_page": "074Ze9m"
}