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

# Update workspace call voice settings

> Change one or more fields for new calls. Copy version from get_call_voice_settings into expectedVersion. Omitted fields are preserved. Send an empty welcomeMessage to restore the default. A conflict requires a fresh read.



## OpenAPI

````yaml /openapi.json patch /settings/ai/call-voice
openapi: 3.0.3
info:
  title: Visito M2M API
  version: 1.0.0
  description: >-
    Tenant-scoped server-to-server API for channels, conversations, commerce,
    custom AI tools, and WhatsApp templates. Send operations are asynchronous
    and return queued acknowledgements. Expansion adds conversation controls,
    knowledge, sales opportunities, delivery status, reporting, and signed
    webhooks.
servers:
  - url: https://platform-api.visitoai.com/m2m/v1
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Channels
  - name: Conversations
  - name: Commerce
  - name: Custom tools
  - name: WhatsApp templates
  - name: Properties
  - name: Knowledge
  - name: Sales CRM
  - name: Delivery
  - name: Reporting
  - name: Webhooks
  - name: Tickets
    description: >-
      General tickets, escalations and Commerce-backed work. See the Tickets
      developer guide for lifecycle, MCP arguments, permissions and retry
      workflows.
    externalDocs:
      description: Tickets developer guide
      url: https://docs.visitoai.com/api-docs/tickets
  - name: Contact notes
    description: Sync customer-specific AI context from your CRM.
paths:
  /settings/ai/call-voice:
    patch:
      tags:
        - AI settings
      summary: Update workspace call voice settings
      description: >-
        Change one or more fields for new calls. Copy version from
        get_call_voice_settings into expectedVersion. Omitted fields are
        preserved. Send an empty welcomeMessage to restore the default. A
        conflict requires a fresh read.
      operationId: update_call_voice_settings
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallVoiceSettingsPatch'
      responses:
        '200':
          description: Update workspace call voice settings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallVoiceSettings'
        default:
          $ref: '#/components/responses/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    CallVoiceSettingsPatch:
      type: object
      additionalProperties: false
      properties:
        expectedVersion:
          type: string
          pattern: ^[a-f0-9]{64}$
          description: Opaque workspace call voice settings version.
        voice:
          type: string
          enum:
            - marin
            - gleam
            - quartz
            - meridian
            - ripple
        pronunciation:
          type: string
          enum:
            - default
            - es-ES
            - es-MX
            - es-CO
            - en-GB
            - en-US
        welcomeMessage:
          type: string
          maxLength: 240
          description: The words to speak. Send an empty string to restore the default.
      required:
        - expectedVersion
      minProperties: 2
    CallVoiceSettings:
      oneOf:
        - type: object
          additionalProperties: false
          properties:
            available:
              type: boolean
              enum:
                - false
          required:
            - available
        - type: object
          additionalProperties: false
          properties:
            available:
              type: boolean
              enum:
                - true
            voice:
              type: string
              enum:
                - marin
                - gleam
                - quartz
                - meridian
                - ripple
            pronunciation:
              type: string
              enum:
                - default
                - es-ES
                - es-MX
                - es-CO
                - en-GB
                - en-US
            welcomeMessage:
              type: string
              maxLength: 240
              description: The words to speak. Send an empty string to restore the default.
            version:
              type: string
              pattern: ^[a-f0-9]{64}$
              description: Opaque workspace call voice settings version.
          required:
            - available
            - voice
            - pronunciation
            - version
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: M2M_AUTH_INSUFFICIENT_SCOPE
            message:
              type: string
            details:
              type: object
              additionalProperties: true
      example:
        error:
          code: M2M_AUTH_INSUFFICIENT_SCOPE
          message: M2M credential does not have required scope.
          details:
            requiredScopes:
              - conversations:write
            missingScopes:
              - conversations:write
  responses:
    Error:
      description: Structured error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Visito M2M API key
      description: Server-side tenant-scoped credential created from Build > API Keys.

````

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