API → Orgs → Get a user's org
Parameters
No parameters
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
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.
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.
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": "A40@qEtxZM.com",
"billing_email_verified": "2025-04-01T00:20:00.065Z",
"block": "payment_method_failed",
"created_at": "2025-04-01T00:20:00.065Z",
"domain": "8eOjVVew6VnDvk",
"id": "cb6063ef-6e0a-4b26-87ed-04fc77a93dae",
"image": "https://dBmPD.bADzoKhIT60.com/eJ16ypHR/9ZMx",
"name": "HcWmmDti8",
"phone": "+1-941-890-1053",
"role": "admin",
"stripe_id": "U6H7s3RbkZXSZhNGSwupgf1jEaoQZM",
"updated_at": "2025-04-01T00:20:00.065Z"
}