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

# Create Voice

> Create a custom voice for your organization from an audio sample. Send `multipart/form-data` with a display name and a clear recording of a single speaker (about 10 to 30 seconds). The new voice can be assigned to any agent via its `voiceId`.



## OpenAPI

````yaml POST /voices
openapi: 3.1.0
info:
  title: RevRing Voice AI API
  description: >-
    RevRing Voice AI platform API for managing AI voice agents, phone calls, SIP
    trunks, and analytics. Build intelligent voice applications that can handle
    inbound and outbound phone calls with AI-powered conversational agents.
  version: 1.0.0
  contact:
    name: RevRing Support
    url: https://revring.ai
servers:
  - url: https://api.revring.ai/v1
    description: Production API
security:
  - apiKeyAuth: []
tags:
  - name: Messaging Connections
    description: Connect messaging providers so agents can send text messages
  - name: Messages
    description: Send text messages and read your message log
  - name: Conversations
    description: List and clear managed conversation threads
  - name: SIP Trunks
    description: Manage SIP trunks for connecting agents to the phone network
  - name: Agents
    description: Manage AI voice agents and their configuration
  - name: Agent Folders
    description: Organize agents into folders for dashboard navigation
  - name: Calls
    description: Manage and query phone calls
  - name: Analytics
    description: Get analytics and metrics about your calls
  - name: Knowledge Bases
    description: >-
      Manage knowledge bases and sources for agent retrieval-augmented
      generation
  - name: Test Suites
    description: Manage test suites, test cases, and test runs for agent evaluation
  - name: Voices
    description: Browse the voices available to your organization for agent speech
paths:
  /voices:
    post:
      tags:
        - Voices
      summary: Create Voice
      description: >-
        Create a custom voice for your organization from an audio sample. Send
        `multipart/form-data` with a display name and a clear recording of a
        single speaker (about 10 to 30 seconds). The new voice can be assigned
        to any agent via its `voiceId`.
      operationId: createVoice
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - displayName
                - voice
              properties:
                displayName:
                  type: string
                  description: Name for the new voice
                language:
                  type: string
                  description: >-
                    Language code the voice speaks (e.g. 'en'). Defaults to
                    'en'.
                voice:
                  type: string
                  format: binary
                  description: Audio sample of a single speaker (about 10 to 30 seconds)
      responses:
        '201':
          description: The created voice
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Voice'
        '400':
          $ref: '#/components/responses/BadRequestError'
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/BillingInactiveError'
components:
  schemas:
    Voice:
      type: object
      description: >-
        A voice available to your organization. Use its `id` as an agent's
        `voiceId`.
      properties:
        id:
          type: string
          description: >-
            Unique identifier, used as an agent's `voiceId` (e.g.
            'revring-rachel')
        displayName:
          type: string
          description: Human-readable voice name
        language:
          type: string
          description: Language code the voice speaks (e.g. 'en')
        gender:
          type: string
          nullable: true
          description: Voice gender, when known ('female' | 'male')
        category:
          type: string
          nullable: true
          description: Grouping label for the voice (e.g. 'English')
        source:
          type: string
          description: >-
            Origin of the voice: 'system' for built-in voices, or 'cloned' /
            'designed' for your organization's custom voices
        status:
          type: string
          description: 'Readiness of the voice: ''ready'', ''processing'', or ''failed'''
      required:
        - id
        - displayName
        - language
        - source
        - status
  responses:
    BadRequestError:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: invalid_body
              details:
                type: object
    UnauthorizedError:
      description: Authentication required or API key invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: unauthorized
    BillingInactiveError:
      description: Subscription inactive or billing issue
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: billing_inactive
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Generate API keys from the RevRing
        dashboard.

````