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": "waHUN@Ymq3.com",
"domain": "OE0r2Mb1ZRdboYWlc",
"image": "https://.p84sbxSqP4yw.com/s2wP/Z",
"name": "9To9ss9DjlTX5eO4L",
"phone": "+1-283-790-4193"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "mwF9ODHLfP@HeVlDI.com",
"billing_email_verified": "2025-03-12T01:36:36.328Z",
"block": "payment_method_failed",
"can_train_on_data": true,
"created_at": "2025-03-12T01:36:36.328Z",
"domain": "YWGw7VDjA6Y",
"id": "a39335a0-65f8-4892-96b6-9b65ea61157b",
"image": "https://.QQs3DZi.com//Gqp",
"name": "Ue99mFrE7SL",
"phone": "+1-470-146-3918",
"stripe_id": "p",
"updated_at": "2025-03-12T01:36:36.328Z"
}