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

# Sync voices from connected providers

> Re-syncs the voices imported from your connected ElevenLabs or Minimax provider accounts.

After the sync completes, you can call `GET /voices` to retrieve the updated list.

You must have at least one voice provider connected to your workspace before calling this endpoint.
Providers can be connected from the Argil dashboard under the Voices page.




## OpenAPI

````yaml post /voices/sync
openapi: 3.0.1
info:
  title: Argil API
  description: API for AI clone video generation
  version: 1.0.0
  license:
    name: MIT
servers:
  - url: https://api.argil.ai/v1
security:
  - ApiKeyAuth: []
paths:
  /voices/sync:
    post:
      summary: Sync voices from connected providers
      description: >
        Re-syncs the voices imported from your connected ElevenLabs or Minimax
        provider accounts.


        After the sync completes, you can call `GET /voices` to retrieve the
        updated list.


        You must have at least one voice provider connected to your workspace
        before calling this endpoint.

        Providers can be connected from the Argil dashboard under the Voices
        page.
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                providerName:
                  type: string
                  enum:
                    - ELEVEN_LABS
                    - MINIMAX
                  description: >-
                    Optional. Sync only this provider. If omitted, all connected
                    voice providers are synced.
            examples:
              sync_all:
                summary: Sync all connected providers
                value: {}
              sync_elevenlabs:
                summary: Sync only ElevenLabs
                value:
                  providerName: ELEVEN_LABS
              sync_minimax:
                summary: Sync only Minimax
                value:
                  providerName: MINIMAX
      responses:
        '200':
          description: >-
            Sync triggered successfully. Returns the list of providers being
            synced.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SyncedProvider'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No connected voice providers found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    SyncedProvider:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: The provider connection ID
        providerName:
          type: string
          enum:
            - ELEVEN_LABS
            - MINIMAX
          description: The voice provider name
        connectionName:
          type: string
          nullable: true
          description: The user-defined connection name
        syncStatus:
          type: string
          enum:
            - SYNCING
          description: Status of the sync (will be SYNCING after this call)
    Error:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key to be included in the x-api-key header

````