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": "GFoaBAuip8@4RbGb.com",
  "domain": "MfylxI",
  "image": "https://7H6.c47fZSa9vS.com/aNxA/vR6qvar8WC",
  "name": "2bm6pdU3XMa3Hc06Cd60ideKYGPDg",
  "phone": "+1-479-165-1015"
}'
201 Created
Response
{
  "allow_users_in_domain_to_auto_join": false,
  "billing_email": "@.com",
  "billing_email_verified": "2024-05-07T19:30:48.287Z",
  "block": "missing_payment_method",
  "can_train_on_data": false,
  "created_at": "2024-05-07T19:30:48.287Z",
  "domain": "pdxu9iK",
  "id": "4242db4e-bedf-4ab0-b3d8-6c731290d99d",
  "image": "https://.1htZVeygCB.com/ARifAPsOx/riU",
  "name": "MjTtnT",
  "phone": "+1-398-235-6615",
  "stripe_id": "SrG21PXxBfd",
  "updated_at": "2024-05-07T19:30:48.287Z"
}