API → UsersGet a user's org

Parameters

No parameters

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • billing_email

      string / Email Address
      optional
    • billing_email_verified

      string / ISO-8601
      optional
    • block

      string
      optional
      Possible values
      • missing_payment_method:  The user is missing a payment method and has exceeded their free API call credits for the month.
      • payment_method_failed:  The users payment method has failed.
    • created_at

      string / ISO-8601
      optional
    • domain

      string
      optional
    • id

      string / UUID
      optional
    • image

      string / URL
      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.
    • stripe_id

      string
      optional
    • updated_at

      string / ISO-8601
      optional
get
/user/org
$ curl "https://api.zoo.dev/user/org" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "allow_users_in_domain_to_auto_join": true,
  "billing_email": "eHs@eZm4QcXsi.com",
  "billing_email_verified": "2025-02-27T21:31:47.369Z",
  "block": "missing_payment_method",
  "created_at": "2025-02-27T21:31:47.369Z",
  "domain": "FNOQK4tN2N9tPO5JsVG",
  "id": "76c20baa-2f16-4e66-b348-ad1dc0ce5269",
  "image": "https://kZ1pUD.alkM0YAV7LH.com/rZBvaRGk2j4/Bq974sflB",
  "name": "v9K6adXv8sbr8RbUeJO",
  "phone": "+1-513-919-9940",
  "role": "admin",
  "stripe_id": "mNYKGmsxwD5GXjKpEaydLCsKnCU",
  "updated_at": "2025-02-27T21:31:47.369Z"
}