> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zeroclick.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create or join an organization from a partner invite

> Takes a partner invite for the caller, whose email must be at the invite's domain. The first taker gets a new organization, with an active membership, the local product organization row, and the invite bound to it; anyone after that joins that organization as an admin, until the agreement is signed for it. Accounts are by invite only.



## OpenAPI

````yaml https://api.zeroclick.io/openapi.json post /v1/organizations/
openapi: 3.0.0
info:
  title: ZeroClick API
  description: >-
    REST API for managing ZeroClick sellers, services, pricing, usage, and
    analytics. Authenticate with an API key from the ZeroClick dashboard.
  version: 1.0.0
servers:
  - url: https://api.zeroclick.io
security:
  - bearerAuth: []
tags:
  - name: API keys
  - name: Sellers
  - name: Services
  - name: Meters
  - name: Plans
  - name: Plan meter prices
  - name: Usage
  - name: Analytics
  - name: Agentify
  - name: Stripe Connect
  - name: Sandbox
  - name: Organizations
  - name: Users
paths:
  /v1/organizations/:
    post:
      tags:
        - Organizations
      summary: Create or join an organization from a partner invite
      description: >-
        Takes a partner invite for the caller, whose email must be at the
        invite's domain. The first taker gets a new organization, with an active
        membership, the local product organization row, and the invite bound to
        it; anyone after that joins that organization as an admin, until the
        agreement is signed for it. Accounts are by invite only.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 200
                  pattern: ^[^<>\p{Cc}]*$
                inviteId:
                  type: string
                  minLength: 1
              required:
                - name
                - inviteId
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  organization:
                    type: object
                    properties:
                      workosOrganizationId:
                        type: string
                    required:
                      - workosOrganizationId
                    additionalProperties: false
                required:
                  - organization
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key created in the ZeroClick dashboard under Settings → API keys.
        Keys start with `zc_`. Send them as `Authorization: Bearer zc_...`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.