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": "lgf@Ot76Bvw4C.com",
"billing_email_verified": "2025-02-05T02:29:52.829Z",
"block": "payment_method_failed",
"created_at": "2025-02-05T02:29:52.830Z",
"domain": "zoBjZq0vTr",
"id": "ef6f576a-a722-4c39-ae77-ff4b18d8ce98",
"image": "https://0y4kSj8fT1CS.go5tj2sui30.com/OlB/1oDSGRDr9LvU",
"name": "B3sX5xpK2n",
"phone": "+1-226-979-7716",
"role": "member",
"stripe_id": "1hUD28ZCO7VUv3b",
"updated_at": "2025-02-05T02:29:52.830Z"
}