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": true,
"billing_email": "ne6h9lRW4@2YFXA.com",
"billing_email_verified": "2024-04-26T17:03:47.037Z",
"block": "payment_method_failed",
"created_at": "2024-04-26T17:03:47.037Z",
"domain": "KRqFCCr5ep3iDC",
"id": "b4c6563d-f21a-4c74-b725-82073a0adddc",
"image": "https://jFOi4.CQzQ8sMk.com/Bali/JgoZ",
"name": "cygLkrtBdfW5cBYxV8ZBcpX2c",
"phone": "+1-665-750-5156",
"role": "member",
"stripe_id": "QR2oJ",
"updated_at": "2024-04-26T17:03:47.037Z"
}