API → Orgs → Create 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": "WpHFY@zYdn.com",
"domain": "1JWUpEvOryFsI5gH1AEeie8cocNz",
"image": "https://9ASIH2Ce.Yap.com/wMTFo/yhedtnDs",
"name": "4n6NWrUxsnK7u4qB",
"phone": "+1-387-658-5081"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "gusu@fQmiBwYWIJ.com",
"billing_email_verified": "2025-04-21T20:01:28.675Z",
"block": "missing_payment_method",
"can_train_on_data": true,
"created_at": "2025-04-21T20:01:28.675Z",
"domain": "doH0yU6oJdFHOfMrWdsW",
"id": "80fb45dd-dffe-4ab5-a480-af9c20c1de5e",
"image": "https://0wbOz7fEJ90.Lz1s3Xg.com/TfzcGZRM/17hIy",
"name": "XUZLhAGTukFuyWyRSb4",
"phone": "+1-998-665-1680",
"stripe_id": "7mgbIMi10aDLi9VZ",
"updated_at": "2025-04-21T20:01:28.675Z"
}