API → OrgsGet 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": "HV8H@I4Ya6Z3.com",
"billing_email_verified": "2025-05-09T08:26:05.243Z",
"block": "payment_method_failed",
"created_at": "2025-05-09T08:26:05.243Z",
"domain": "xJLMywQ",
"id": "eaf06687-3db8-48ab-9b88-f8ad04121126",
"image": "https://7Lvmc.i.com/OM29W8hiN/5VF",
"name": "6Jh1NcsQXIKshABd",
"phone": "+1-580-755-4396",
"role": "service_account",
"stripe_id": "3FBfNiVcER3cv7zvpI",
"updated_at": "2025-05-09T08:26:05.243Z"
}