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": "ag19huIRqX@Cw4.com",
"domain": "YwP6",
"image": "https://VoypTWTC02z.BBCnxm.com/op5IbtkNI/DgJdnMfSMQ",
"name": "KNlEGHg3J87Ceq005L8KRMObTc",
"phone": "+1-323-461-4374"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "lX@Ind5OHhU.com",
"billing_email_verified": "2025-07-03T15:41:33.567Z",
"block": "payment_method_failed",
"can_train_on_data": false,
"created_at": "2025-07-03T15:41:33.567Z",
"domain": "oBizKoCDz25AUC3Frl8bny4Pp",
"id": "13b1a35f-1527-4e20-8f3a-ba3f05c39f7e",
"image": "https://XWVblwC.IToW.com/YZwbls9nCN6c/6ZHZm2f",
"name": "VLzgRtHNd6ixwOoalR2zQG5goJ7N",
"phone": "+1-306-297-1334",
"stripe_id": "Uq4VtJPupAed1d5YwVl",
"updated_at": "2025-07-03T15:41:33.568Z"
}