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": "EERp@R1C8V.com",
"domain": "KVrGuj5kO7FUMXSQNhmeoSBNc9fT",
"image": "https://rk9HMsy0U.yGdDrkCD.com/q/KRe",
"name": "uTr74zFZFLG",
"phone": "+1-582-323-5872"
}'
201 Created
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "X@ttc1.com",
"billing_email_verified": "2025-04-17T14:08:52.251Z",
"block": "payment_method_failed",
"can_train_on_data": false,
"created_at": "2025-04-17T14:08:52.251Z",
"domain": "vLbTS8qIWByZThiNAkx1wM",
"id": "5053e14a-7548-4c28-9af5-a0789e411a57",
"image": "https://Hm1B.RCf.com/eNdS0/PdpRY",
"name": "E7wDLFU5gKUffVrEL9JQEwmPl",
"phone": "+1-458-326-1131",
"stripe_id": "iMIxsyHVY6IAIFt",
"updated_at": "2025-04-17T14:08:52.251Z"
}