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": "@Ux5hFN.com",
"domain": "RQySegqBlX",
"image": "https://VmE8ZWSk.njCKREM8RgT.com/Kvd3/wzYM",
"name": "2WrqjQacN5U1G0n0KfcLexT",
"phone": "+1-703-269-7316"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "UdIagus@XpVjlQD.com",
"billing_email_verified": "2025-08-14T21:14:30.552Z",
"block": "missing_payment_method",
"can_train_on_data": true,
"created_at": "2025-08-14T21:14:30.552Z",
"domain": "MrPCE3SjtpLlcK0LqBln",
"id": "a08a8010-98ca-46ae-901d-7d3824c34761",
"image": "https://hOwH.CwJqkqc9XK.com/H7cjsHw8/G",
"name": "oTVAM6iTsRjHBr4Zv",
"phone": "+1-622-617-6585",
"stripe_id": "dSIsXWhFx5GIp2zaium7OAG",
"updated_at": "2025-08-14T21:14:30.552Z"
}