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": "@.com",
  "domain": "eHPi25xZcu05x6uF",
  "image": "https://z5dJ0yGA.m2dY.com/MqISNrLVl9l/5Ce8E",
  "name": "GCzuQRhcgTkRc8YzqaMV8LXejCojS3",
  "phone": "+1-451-756-9730"
}'
201 Created
Response
{
  "allow_users_in_domain_to_auto_join": true,
  "billing_email": "n08YrXQ@.com",
  "billing_email_verified": "2024-10-18T02:48:35.117Z",
  "block": "payment_method_failed",
  "can_train_on_data": false,
  "created_at": "2024-10-18T02:48:35.117Z",
  "domain": "",
  "id": "f27f447c-08ad-465b-803c-631152db334b",
  "image": "https://onDEWe63.KuscRfIVme.com/3fAuSutPlLgv/MYM4Nzp",
  "name": "Armc9HyNi24eTb",
  "phone": "+1-699-764-5672",
  "stripe_id": "9vfTqDY9Fl5Xu2KsGvhAL1idEP3ywd",
  "updated_at": "2024-10-18T02:48:35.117Z"
}