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": false,
"billing_email": "Uiwo@GA95Np.com",
"domain": "8FPB5DztQe881DGEB8IoW",
"image": "https://FFj.geE4F.com/tdcg/2DveJ3Imu2C",
"name": "CxPWq7mosit4flpQTwR27x",
"phone": "+1-279-988-2206"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "66aaL9Du7@gj1DC3j.com",
"billing_email_verified": "2025-05-22T02:03:44.949Z",
"block": "missing_payment_method",
"can_train_on_data": false,
"created_at": "2025-05-22T02:03:44.949Z",
"domain": "gqcLUZ",
"id": "c12a8a49-011a-4aeb-bd18-093422b9b6cd",
"image": "https://5utXgeeo.Z1j154w6.com//MbQYTtMo7",
"name": "8VFDutxk1vcArJs2xbaEq",
"phone": "+1-805-713-9567",
"stripe_id": "yZi4pj4qRIIrn7SxlQnxLQ8",
"updated_at": "2025-05-22T02:03:44.950Z"
}