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

# Accept Project Invitation

> Accept with a browser session, or submit signup credentials and legal acceptance.



## OpenAPI

````yaml /openapi.json post /api/auth/project-invitations/accept
openapi: 3.1.0
info:
  title: Aixy Gateway API
  version: 0.1.0
  description: >-
    Route requests to configured AI providers through OpenAI- and
    Anthropic-compatible APIs. Aixy applies project access, model policies,
    guardrails, routing, budgets, and usage attribution before forwarding
    inference traffic.
servers:
  - url: https://api.aixy-gateway.com
    description: Aixy production gateway
security: []
tags:
  - name: operations
    description: Check process liveness and traffic readiness.
  - name: authentication
    description: Authenticate trusted server-side clients.
  - name: organizations
    description: Manage the organization and its lifecycle.
  - name: projects
    description: Create projects and manage project membership.
  - name: users
    description: Manage organization users, roles, and invitations.
  - name: teams
    description: Manage teams and team membership.
  - name: api-keys
    description: Manage project-scoped gateway API keys.
  - name: provider-credentials
    description: Manage organization and project provider credentials.
  - name: provider-catalog
    description: Discover providers supported by the gateway.
  - name: provider-models
    description: Discover and control models exposed by configured providers.
  - name: routing
    description: Configure stable model aliases, routing strategies, and fallbacks.
  - name: guardrails
    description: Configure prompt and sensitive-data protection policies.
  - name: identity connections
    description: Configure tenant-scoped enterprise identity federation.
  - name: playground
    description: Exercise configured models through the gateway.
  - name: cost-control
    description: Inspect spend and enforce budgets across tenant scopes.
  - name: metrics
    description: Inspect usage, token, latency, and error metrics.
  - name: activity
    description: Diagnose individual model requests and manage opt-in content capture.
  - name: monitors
    description: Configure operational monitors and notification channels.
  - name: audit
    description: Query, verify, and export the organization audit log.
  - name: telemetry exports
    description: Export telemetry to organization-owned destinations.
  - name: billing
    description: Inspect and manage the organization subscription.
  - name: models
    description: List models available to a project-scoped gateway API key.
  - name: inference
    description: Run model inference through the Aixy data plane.
  - name: pricing
    description: Manage versioned pricing attribution rules.
  - name: system
    description: Discover gateway capabilities and providers.
  - name: MCP beta
    description: Mcp beta operations exposed by the gateway.
  - name: cost-optimization
    description: Cost optimization operations exposed by the gateway.
  - name: custom domains
    description: Custom domains operations exposed by the gateway.
  - name: data processing
    description: Data processing operations exposed by the gateway.
  - name: feature flags
    description: Feature flags operations exposed by the gateway.
  - name: privacy
    description: Privacy operations exposed by the gateway.
  - name: roles
    description: Roles operations exposed by the gateway.
paths:
  /api/auth/project-invitations/accept:
    post:
      tags:
        - authentication
      summary: Accept Project Invitation
      description: >-
        Accept with a browser session, or submit signup credentials and legal
        acceptance.
      operationId: browser_accept_project_invitation
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/ProjectInvitationAcceptRequest'
                - $ref: >-
                    #/components/schemas/AuthenticatedProjectInvitationAcceptRequest
              title: Body
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectInvitationPersonalSessionResponse'
        '400':
          description: The request is invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
        '401':
          description: Authentication is required or invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
        '402':
          description: The request failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
        '403':
          description: The authenticated account cannot perform this operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
        '409':
          description: The request conflicts with the current resource state.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
        '413':
          description: The request body exceeds the endpoint limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
        '422':
          description: The request is semantically invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
        '503':
          description: The control-plane capability is unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
        4XX:
          description: The request was rejected by validation or authorization.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GatewayErrorResponse'
      security: []
components:
  schemas:
    ProjectInvitationAcceptRequest:
      properties:
        token:
          type: string
          title: Token
        email:
          type: string
          format: email
          title: Email
        name:
          type: string
          title: Name
        password:
          type: string
          maxLength: 256
          minLength: 12
          title: Password
        legal_acceptance:
          $ref: '#/components/schemas/LegalAcceptanceStatement'
      additionalProperties: false
      type: object
      required:
        - token
        - email
        - name
        - password
        - legal_acceptance
      title: ProjectInvitationAcceptRequest
    AuthenticatedProjectInvitationAcceptRequest:
      properties:
        token:
          type: string
          title: Token
        account_id:
          type: string
          format: uuid
          title: Account Id
      additionalProperties: false
      type: object
      required:
        - token
        - account_id
      title: AuthenticatedProjectInvitationAcceptRequest
    ProjectInvitationPersonalSessionResponse:
      properties:
        person:
          $ref: '#/components/schemas/PersonResponse'
        organizations:
          items:
            $ref: '#/components/schemas/OrganizationAccessResponse'
          type: array
          title: Organizations
        account:
          anyOf:
            - $ref: '#/components/schemas/ProjectInvitationAcceptedSessionResponse'
            - type: 'null'
        expires_at:
          type: string
          title: Expires At
        organization:
          anyOf:
            - $ref: >-
                #/components/schemas/ProjectInvitationAcceptedOrganizationResponse
            - type: 'null'
        user:
          anyOf:
            - $ref: '#/components/schemas/ProjectInvitationAcceptedUserResponse'
            - type: 'null'
        permissions:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Permissions
      type: object
      required:
        - person
        - organizations
        - account
        - expires_at
      title: ProjectInvitationPersonalSessionResponse
    GatewayErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/GatewayErrorDetail'
      type: object
      required:
        - error
      title: GatewayErrorResponse
    LegalAcceptanceStatement:
      properties:
        terms_accepted:
          type: boolean
          title: Terms Accepted
        privacy_notice_acknowledged:
          type: boolean
          title: Privacy Notice Acknowledged
        terms_version:
          type: string
          title: Terms Version
        privacy_notice_version:
          type: string
          title: Privacy Notice Version
      type: object
      required:
        - terms_accepted
        - privacy_notice_acknowledged
        - terms_version
        - privacy_notice_version
      title: LegalAcceptanceStatement
    PersonResponse:
      properties:
        id:
          type: string
          title: Id
        email:
          type: string
          title: Email
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - email
        - name
      title: PersonResponse
    OrganizationAccessResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
        authentication_required:
          anyOf:
            - type: string
              const: sso
            - type: 'null'
          title: Authentication Required
      type: object
      required:
        - id
        - name
        - slug
      title: OrganizationAccessResponse
    ProjectInvitationAcceptedSessionResponse:
      properties:
        organization:
          $ref: '#/components/schemas/ProjectInvitationAcceptedOrganizationResponse'
        user:
          $ref: '#/components/schemas/ProjectInvitationAcceptedUserResponse'
        permissions:
          items:
            type: string
          type: array
          title: Permissions
        expires_at:
          type: string
          title: Expires At
      type: object
      required:
        - organization
        - user
        - permissions
        - expires_at
      title: ProjectInvitationAcceptedSessionResponse
    ProjectInvitationAcceptedOrganizationResponse:
      properties:
        id:
          type: string
          title: Id
        object:
          type: string
          const: organization
          title: Object
          default: organization
        name:
          type: string
          title: Name
        slug:
          type: string
          title: Slug
      type: object
      required:
        - id
        - name
        - slug
      title: ProjectInvitationAcceptedOrganizationResponse
    ProjectInvitationAcceptedUserResponse:
      properties:
        id:
          type: string
          title: Id
        object:
          type: string
          const: organization.user
          title: Object
          default: organization.user
        organization_id:
          type: string
          title: Organization Id
        email:
          type: string
          title: Email
        name:
          type: string
          title: Name
        role:
          type: string
          title: Role
        project_ids:
          items:
            type: string
          type: array
          title: Project Ids
      type: object
      required:
        - id
        - organization_id
        - email
        - name
        - role
        - project_ids
      title: ProjectInvitationAcceptedUserResponse
    GatewayErrorDetail:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        details:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Details
      type: object
      required:
        - code
        - message
      title: GatewayErrorDetail

````

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