WorkOS

organizations.create

Creates a new organization in the current environment.

Remote workos

Other tools also called organizations.create? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the organization."
    },
    "domains": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The domains associated with the organization. Deprecated in favor of `domain_data`."
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ],
      "description": "Object containing [metadata](/authkit/metadata) key/value pairs associated with the Organization."
    },
    "domain_data": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "domain",
          "state"
        ],
        "properties": {
          "state": {
            "enum": [
              "pending",
              "verified"
            ],
            "type": "string",
            "description": "The verification state of the domain."
          },
          "domain": {
            "type": "string",
            "description": "The domain value."
          }
        }
      },
      "description": "The domains associated with the organization, including verification state."
    },
    "external_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "An external identifier for the Organization."
    },
    "allow_profiles_outside_organization": {
      "type": "boolean",
      "description": "Whether the organization allows profiles from outside the organization to sign in."
    }
  }
}
          

Provider

WorkOS →