API → OrgsCreate an org

Parameters

Name

Type

Req.

Returns

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": "9NUumcdRC@MaZ5hGNaP.com",
  "domain": "nlFSgMWTPXXI7u",
  "image": "https://rg87P1fc2M..com/OZF/aU",
  "name": "9y40t3YNOmFXihNn67tU8",
  "phone": "+1-144-746-2367"
}'
201 Created
Response
{
  "allow_users_in_domain_to_auto_join": true,
  "billing_email": "@NO8Zto1pO.com",
  "billing_email_verified": "2024-04-12T19:23:48.705Z",
  "block": "payment_method_failed",
  "can_train_on_data": false,
  "created_at": "2024-04-12T19:23:48.705Z",
  "domain": "wqHLLWTzDtTWEp1eOcvfXH6i8VuU8",
  "id": "01f21921-ad62-4528-af4b-fc9af4f6d4cf",
  "image": "https://l.R.com/H0sHcGoV04f/",
  "name": "Kzozp",
  "phone": "+1-647-291-5563",
  "stripe_id": "Gyf9UJ2auplJe46RbUaTHW8Zx",
  "updated_at": "2024-04-12T19:23:48.705Z"
}