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": "@Vcma.com",
"domain": "CLdL36GonVm5n",
"image": "https://9A.SwXAlJ.com/w4/fwMVfrsxDACH",
"name": "J0numEUKQNf7ICnL",
"phone": "+1-770-256-3625"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "pRzyFeG@q.com",
"billing_email_verified": "2025-05-09T08:25:47.687Z",
"block": "payment_method_failed",
"can_train_on_data": true,
"created_at": "2025-05-09T08:25:47.687Z",
"domain": "Ap0bqcofzI6wdbvZ4XJQ",
"id": "d08acf47-0bb6-41c4-93d7-0a903bd77954",
"image": "https://majglfngp.Rfk.com//cjrQwXj",
"name": "zdEZrvSqD",
"phone": "+1-462-438-3345",
"stripe_id": "xVO0GvdIgnJZJ",
"updated_at": "2025-05-09T08:25:47.687Z"
}