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": "e76nDmw@CWCHRtb96x.com",
"billing_email_verified": "2024-12-19T17:49:17.242Z",
"block": "missing_payment_method",
"created_at": "2024-12-19T17:49:17.242Z",
"domain": "8",
"id": "45ab502f-1915-443c-9bcf-1e5f5c02de07",
"image": "https://22.9WqRDZUvWU6.com/LW1c2oEdo8yv/",
"name": "xyvimlwGzO6wRWROqyYGqqAq7yqhM",
"phone": "+1-611-561-7680",
"role": "admin",
"stripe_id": "xW4cl9J7iJOkfhb7HyVh2smx",
"updated_at": "2024-12-19T17:49:17.242Z"
}