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": "@gjK3xj.com",
"domain": "lLiV",
"image": "https://myj.Yhe9oFm.com/WtIJJGL3a/d",
"name": "5e4i1SynknIDBAOGvf32HtaW6OAslq",
"phone": "+1-363-300-9078"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "FcjKlaC@xQu2.com",
"billing_email_verified": "2025-07-25T20:53:41.028Z",
"block": "payment_method_failed",
"can_train_on_data": false,
"created_at": "2025-07-25T20:53:41.028Z",
"domain": "TSiKw3XscSc49d9",
"id": "981e04fa-f54e-488f-8944-78023a8e586a",
"image": "https://K.1H0jT77ZDjO5.com/yD/UDS2HO",
"name": "45vfEyxZAxfW7VknsDJS0JfbC",
"phone": "+1-589-644-1507",
"stripe_id": "2vxDc5",
"updated_at": "2025-07-25T20:53:41.028Z"
}