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": false,
"billing_email": "kCiLFVdrO@Pz7y.com",
"billing_email_verified": "2024-09-07T21:56:57.725Z",
"block": "payment_method_failed",
"created_at": "2024-09-07T21:56:57.725Z",
"domain": "A3yJG3M8hoH817THOpeiw4iDB",
"id": "bd50bb3f-d7e4-426a-9d1a-d43154c09734",
"image": "https://krvlD.hVSr.com/CYf6Y7S5e/oHX15z",
"name": "YCcKmEW5FmPsuYPNGsY5smkRsjI",
"phone": "+1-918-519-5733",
"role": "service_account",
"stripe_id": "whs",
"updated_at": "2024-09-07T21:56:57.725Z"
}