API → Users → 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": "nvaKS9r0@DX.com",
"billing_email_verified": "2024-09-07T21:57:27.371Z",
"block": "missing_payment_method",
"created_at": "2024-09-07T21:57:27.371Z",
"domain": "CY6psHTNOWYf6k",
"id": "1887b0ad-7463-4046-9f6d-a7dda20ee646",
"image": "https://IsOa.3LK.com/TyioG3Ag/gFU6cXQ",
"name": "XzneBSMyHgV7ZzTocGSv7NS4",
"phone": "+1-256-451-4904",
"role": "admin",
"stripe_id": "YpvJJ0mLCNTdy",
"updated_at": "2024-09-07T21:57:27.371Z"
}