{
  "opencollection": "1.0.0",
  "info": {
    "name": "Telnyx Access Tokens Voice Clones API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Voice Clones",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List voice clones",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/voice_clones",
            "params": [
              {
                "name": "page[number]",
                "value": "",
                "type": "query",
                "description": "Page number for pagination (1-based)."
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query",
                "description": "Number of results per page."
              },
              {
                "name": "filter[name]",
                "value": "",
                "type": "query",
                "description": "Case-insensitive substring filter on the name field."
              },
              {
                "name": "filter[provider]",
                "value": "",
                "type": "query",
                "description": "Filter by voice synthesis provider. Case-insensitive."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Sort order. Prefix with `-` for descending. Defaults to `-created_at`."
              }
            ]
          },
          "docs": "Returns a paginated list of voice clones belonging to the authenticated account."
        },
        {
          "info": {
            "name": "Create a voice clone from a voice design",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/voice_clones",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new voice clone by capturing the voice identity of an existing voice design. The clone can then be used for text-to-speech synthesis."
        },
        {
          "info": {
            "name": "Create a voice clone from an audio file upload",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.telnyx.com/v2/voice_clones/from_upload",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Creates a new voice clone by uploading an audio file directly. Supported formats: WAV, MP3, FLAC, OGG, M4A. For best results, provide 5–10 seconds of clear speech. Maximum file size: 5MB for Telnyx, 20MB for Minimax."
        },
        {
          "info": {
            "name": "Update a voice clone",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.telnyx.com/v2/voice_clones/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The voice clone UUID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the name, language, or gender of a voice clone."
        },
        {
          "info": {
            "name": "Delete a voice clone",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.telnyx.com/v2/voice_clones/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The voice clone UUID."
              }
            ]
          },
          "docs": "Permanently deletes a voice clone. This action cannot be undone."
        },
        {
          "info": {
            "name": "Download voice clone audio sample",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.telnyx.com/v2/voice_clones/:id/sample",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The voice clone UUID."
              }
            ]
          },
          "docs": "Downloads the WAV audio sample that was used to create the voice clone."
        }
      ]
    }
  ],
  "bundled": true
}