API → OrgsCreate an org
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
Returns
- 201 Created
successful creation
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.
post
/org$ curl -X POST "https://api.zoo.dev/org" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "TB@pf87na.com",
"domain": "G4Z6OJmNAtUr",
"image": "https://eMHXZ06jq.t1Mv9WXTxf.com/f0/QlOo",
"name": "AwtB5Y9k8PlwpRRo",
"phone": "+1-792-518-1594"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "uanH4sAK@.com",
"billing_email_verified": "2025-05-30T23:19:34.909Z",
"block": "payment_method_failed",
"can_train_on_data": true,
"created_at": "2025-05-30T23:19:34.909Z",
"domain": "rbvSXP43DAbj",
"id": "954280ce-0940-4a6f-b088-bf16634fcc68",
"image": "https://VOCCdqUDB.9EiV.com/TQhQWvw/Zss4fB7",
"name": "y",
"phone": "+1-700-276-8349",
"stripe_id": "eS2e",
"updated_at": "2025-05-30T23:19:34.909Z"
}