API → OrgsList members of your 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".
  • role

    string
    required
    Possible values
    • admin:  Admins can do anything in the org.
    • member:  Members of an org can not modify an org, but they belong in the org.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • items

      array
      optional
      Array of
      • company

        string
        optional
      • created_at

        string / ISO-8601
        optional
      • discord

        string
        optional
      • email

        string / Email Address
        optional
      • email_verified

        string / ISO-8601
        optional
      • first_name

        string
        optional
      • github

        string
        optional
      • id

        string / UUID
        optional
      • image

        string / URL
        optional
      • last_name

        string
        optional
      • name

        string
        optional
      • phone

        string / Phone Number
        optional
      • role

        string
        optional
        Possible values
        • admin:  Admins can do anything in the org.
        • member:  Members of an org can not modify an org, but they belong in the org.
        • service_account:  A service account role.
      • updated_at

        string / ISO-8601
        optional
    • next_page

      string
      optional
get
/org/members
$ curl "https://api.zoo.dev/org/members" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "items": [
    {
      "company": "1aVahBy29qLkDTuGjK6eZYEvpg",
      "created_at": "2024-05-07T19:30:50.772Z",
      "discord": "0StWYMgiMYPTKjZPReuQIuTFWCBF",
      "email": "BzOGgr3M@h9rvbjy9.com",
      "email_verified": "2024-05-07T19:30:50.772Z",
      "first_name": "D5URBSWJn",
      "github": "7PKN90LECVz6inbXrdDTmVuT",
      "id": "5472acaf-977b-4818-8671-9f67b2f99b5e",
      "image": "https://nsX.4d9TBdXNvihm.com/y1/EXWy2GpvQ",
      "last_name": "NeRn5wnlDO2z7OW0lz3n6e6txSw4CJ",
      "name": "LljSp5hQOii",
      "phone": "+1-744-264-5025",
      "role": "service_account",
      "updated_at": "2024-05-07T19:30:50.772Z"
    }
  ],
  "next_page": "5hTEtpO4b2QfFBDEkDDoqiRsJJ"
}