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": true,
"billing_email": "7uOUcWidz@IvFfgQwH1.com",
"domain": "oRZagjsqj",
"image": "https://iAMZUK.F5Zp1wfu.com/45Ux9XsPU4/W5W4PUd",
"name": "ioEHXML",
"phone": "+1-313-386-3658"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "@l22uHZva8.com",
"billing_email_verified": "2025-07-01T20:12:23.080Z",
"block": "payment_method_failed",
"can_train_on_data": true,
"created_at": "2025-07-01T20:12:23.080Z",
"domain": "JgUGxrFCaDCtDPnaJV",
"id": "85408203-ce48-4452-aeda-4741d4eb97e5",
"image": "https://jDSD.jqcw6gRM9p.com/5b4fnDlwyu/bY1wI",
"name": "kLq024BN9Zr9",
"phone": "+1-102-951-3188",
"stripe_id": "wnemuZP6dJML",
"updated_at": "2025-07-01T20:12:23.080Z"
}