> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Post v1panelinvitationsaccept

> Public. Redeems an invitation: creates the account with the invited roles and the chosen name and password, consumes the link, audits `admin.invitation.accepted`, queues a `security` operator notice, and signs the new operator in. Rate limited per client address.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml post /v1/panel/invitations/accept
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/panel/invitations/accept:
    post:
      tags:
        - panel
      description: >-
        Public. Redeems an invitation: creates the account with the invited
        roles and the chosen name and password, consumes the link, audits
        `admin.invitation.accepted`, queues a `security` operator notice, and
        signs the new operator in. Rate limited per client address.
      operationId: acceptPanelInvitation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdminInvitationAcceptInput'
      responses:
        '201':
          description: Account created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AdminInvitationAccepted'
        '404':
          $ref: '#/components/responses/Problem'
        '409':
          $ref: '#/components/responses/Problem'
        '422':
          $ref: '#/components/responses/Problem'
        '429':
          $ref: '#/components/responses/Problem'
      security: []
components:
  schemas:
    AdminInvitationAcceptInput:
      type: object
      additionalProperties: false
      required:
        - token
        - displayName
        - password
      properties:
        token:
          type: string
        displayName:
          type: string
          minLength: 1
          maxLength: 80
        password:
          type: string
          minLength: 12
          maxLength: 256
        locale:
          $ref: '#/components/schemas/AdminLocale'
        timezone:
          type: string
    AdminInvitationAccepted:
      type: object
      required:
        - signedIn
        - account
      properties:
        signedIn:
          type: boolean
          description: >-
            False when the account was created but the automatic sign-in did not
            complete; the operator signs in from the login screen.
        csrfToken:
          type: string
        expiresAt:
          type: string
          format: date-time
        account:
          $ref: '#/components/schemas/AdminAccount'
    AdminLocale:
      type: string
      enum:
        - en
        - ru
    AdminAccount:
      type: object
      required:
        - id
        - email
        - displayName
        - status
        - locale
        - timezone
        - roles
        - totpEnabled
        - createdAt
      properties:
        id:
          type: string
          format: uuid
        email:
          type: string
          format: email
        displayName:
          type: string
        status:
          $ref: '#/components/schemas/AdminStatus'
        locale:
          $ref: '#/components/schemas/AdminLocale'
        timezone:
          type: string
        roles:
          type: array
          items:
            $ref: '#/components/schemas/AdminRole'
        totpEnabled:
          type: boolean
        lastLoginAt:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
    AdminStatus:
      type: string
      enum:
        - active
        - suspended
        - disabled
    AdminRole:
      type: string
      enum:
        - owner
        - administrator
        - support
        - finance
        - marketing
        - auditor
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

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