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

# Invite



## OpenAPI

````yaml /openapi.json post /api/v1/settings/members
openapi: 3.1.0
info:
  description: >-
    Especificación pública de la API de ViVi. Incluye solo los endpoints del
    dominio de la práctica: agenda, pacientes, conversaciones, clínica y cuenta.
  title: ViVi
  version: 0.1.0
servers:
  - url: https://api.holavivi.app
security: []
tags:
  - name: Agenda
  - name: Pacientes
  - name: Conversaciones
  - name: Clínica
  - name: Cuenta y panel
paths:
  /api/v1/settings/members:
    post:
      tags:
        - Cuenta y panel
      summary: Invite
      operationId: invite_api_v1_settings_members_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemberInput'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - BearerAuth: []
components:
  schemas:
    MemberInput:
      properties:
        email:
          format: email
          maxLength: 255
          title: Email
          type: string
        role:
          enum:
            - staff
            - viewer
            - secretary
            - accounting
          title: Role
          type: string
      required:
        - email
        - role
      title: MemberInput
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      description: >-
        La credencial de sesión del consultorio o del paciente, o una clave API
        del consultorio, como token Bearer.
      scheme: bearer
      type: http

````

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