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": true,
"billing_email": "z4W21VMBRS@YBZpd.com",
"domain": "JUvKts3",
"image": "https://xa6co.LaMGwFS.com/Ax/e",
"name": "jdRg3QPYiDiK8pPHsVfwkhWeTMP",
"phone": "+1-460-443-2440"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "sRvF6@3.com",
"billing_email_verified": "2025-04-01T00:19:47.899Z",
"block": "missing_payment_method",
"can_train_on_data": false,
"created_at": "2025-04-01T00:19:47.899Z",
"domain": "MwH",
"id": "59e0fa2c-d2e5-4daa-877e-a378ad623e1d",
"image": "https://nPWfPWJBpF.37oZzwzb5e.com/i1DvV0hEQ/6l",
"name": "KH8qMoOn6PIneI57YyKX4LsNr",
"phone": "+1-794-502-3391",
"stripe_id": "e",
"updated_at": "2025-04-01T00:19:47.899Z"
}