> ## 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.

# Settings Update

> Update the professional's workspace settings.



## OpenAPI

````yaml /openapi.json put /api/v1/settings
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:
    put:
      tags:
        - Cuenta y panel
      summary: Settings Update
      description: Update the professional's workspace settings.
      operationId: settings_update_api_v1_settings_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SettingsIn'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - BearerAuth: []
components:
  schemas:
    SettingsIn:
      properties:
        accepted_currencies:
          anyOf:
            - items:
                type: string
              maxItems: 24
              type: array
            - type: 'null'
          title: Accepted Currencies
        auto_invoice_on_completion:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Auto Invoice On Completion
        auto_monthly_invoicing:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Auto Monthly Invoicing
        bank_account:
          anyOf:
            - $ref: '#/components/schemas/BankAccountIn'
            - type: 'null'
        bank_accounts:
          anyOf:
            - additionalProperties:
                $ref: '#/components/schemas/BankAccountIn'
              type: object
            - type: 'null'
          title: Bank Accounts
        billing_delivery:
          anyOf:
            - const: email_first
              type: string
            - type: 'null'
          title: Billing Delivery
        billing_due_days:
          anyOf:
            - maximum: 90
              minimum: 0
              type: integer
            - type: 'null'
          title: Billing Due Days
        billing_mode:
          anyOf:
            - enum:
                - manual
                - per_session
                - monthly
              type: string
            - type: 'null'
          title: Billing Mode
        breaks:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Breaks
        calendar_source:
          anyOf:
            - enum:
                - vivi
                - google
              type: string
            - type: 'null'
          title: Calendar Source
        currency:
          anyOf:
            - pattern: ^[A-Z]{3}$
              type: string
            - type: 'null'
          title: Currency
        daily_session_limit:
          anyOf:
            - maximum: 100
              minimum: 1
              type: integer
            - type: 'null'
          title: Daily Session Limit
        display_name:
          anyOf:
            - maxLength: 255
              minLength: 1
              type: string
            - type: 'null'
          title: Display Name
        invoice_warning_hours:
          anyOf:
            - maximum: 168
              minimum: 1
              type: integer
            - type: 'null'
          title: Invoice Warning Hours
        meet_default_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Meet Default Enabled
        payment_methods:
          anyOf:
            - additionalProperties:
                items:
                  enum:
                    - cash
                    - bank_transfer
                    - mercadopago
                  type: string
                type: array
              type: object
            - type: 'null'
          title: Payment Methods
        phone:
          anyOf:
            - maxLength: 64
              type: string
            - type: 'null'
          title: Phone
        practice_address:
          anyOf:
            - maxLength: 255
              type: string
            - type: 'null'
          title: Practice Address
        prices_by_currency:
          anyOf:
            - additionalProperties:
                $ref: '#/components/schemas/CurrencyPriceIn'
              type: object
            - type: 'null'
          title: Prices By Currency
        program_billing_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Program Billing Enabled
        public_booking_enabled:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Public Booking Enabled
        recovery_policy:
          anyOf:
            - $ref: '#/components/schemas/RecoveryPolicyIn'
            - type: 'null'
        session_minutes:
          anyOf:
            - maximum: 180
              minimum: 15
              type: integer
            - type: 'null'
          title: Session Minutes
        session_price_ars:
          anyOf:
            - maximum: 1000000000000
              minimum: 0
              type: integer
            - type: 'null'
          title: Session Price Ars
        slug:
          anyOf:
            - maxLength: 64
              minLength: 3
              type: string
            - type: 'null'
          title: Slug
        supplier_profile:
          anyOf:
            - $ref: '#/components/schemas/SupplierProfileIn'
            - type: 'null'
        timezone:
          anyOf:
            - maxLength: 64
              type: string
            - type: 'null'
          title: Timezone
        working_hours:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Working Hours
      title: SettingsIn
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    BankAccountIn:
      properties:
        account_number:
          anyOf:
            - maxLength: 64
              minLength: 4
              type: string
            - type: 'null'
          title: Account Number
        alias:
          anyOf:
            - maxLength: 20
              minLength: 6
              pattern: ^[A-Za-z0-9.\-]+$
              type: string
            - type: 'null'
          title: Alias
        bank_name:
          maxLength: 120
          minLength: 2
          title: Bank Name
          type: string
        cbu_cvu:
          anyOf:
            - pattern: ^[0-9]{22}$
              type: string
            - type: 'null'
          title: Cbu Cvu
        country:
          default: AR
          pattern: ^[A-Z]{2}$
          title: Country
          type: string
        holder:
          maxLength: 120
          minLength: 2
          title: Holder
          type: string
        iban:
          anyOf:
            - maxLength: 34
              minLength: 15
              pattern: ^[A-Z0-9]+$
              type: string
            - type: 'null'
          title: Iban
        swift:
          anyOf:
            - pattern: ^[A-Z0-9]{8}([A-Z0-9]{3})?$
              type: string
            - type: 'null'
          title: Swift
      required:
        - holder
        - bank_name
      title: BankAccountIn
      type: object
    CurrencyPriceIn:
      properties:
        session_minor:
          maximum: 100000000000000
          minimum: 0
          title: Session Minor
          type: integer
      required:
        - session_minor
      title: CurrencyPriceIn
      type: object
    RecoveryPolicyIn:
      properties:
        enabled:
          default: true
          title: Enabled
          type: boolean
        notice_hours:
          default: 24
          maximum: 720
          minimum: 0
          title: Notice Hours
          type: integer
      title: RecoveryPolicyIn
      type: object
    SupplierProfileIn:
      properties:
        country:
          pattern: ^[A-Z]{2}$
          title: Country
          type: string
        legal_name:
          maxLength: 255
          minLength: 2
          title: Legal Name
          type: string
        tax_id:
          anyOf:
            - maxLength: 64
              type: string
            - type: 'null'
          title: Tax Id
      required:
        - legal_name
        - country
      title: SupplierProfileIn
      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.