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": "WCsU1RgVzq@SaA.com",
"domain": "WH7l4eREwiKBGRBSHLyvpboQ",
"image": "https://CLdJv8.b0T4ZY.com/e/Uprb",
"name": "574ZhXQ3DXK8eoiZOqNZ",
"phone": "+1-227-259-1956"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "@v.com",
"billing_email_verified": "2025-04-25T16:39:11.372Z",
"block": "missing_payment_method",
"can_train_on_data": false,
"created_at": "2025-04-25T16:39:11.372Z",
"domain": "JPYZ5vdT",
"id": "da0ad40d-40ee-42d9-80a1-1ffb429c9b5b",
"image": "https://.cgB4oW.com//TcZPy",
"name": "XhcsC10VY5PmlAOiu",
"phone": "+1-885-699-7288",
"stripe_id": "ghGVnErWmw13NRIc",
"updated_at": "2025-04-25T16:39:11.372Z"
}