---
agentTools:
  projectIndex: https://docs.voicebase.com/llms.txt
---

# Retrieve WEBVTT transcript

Retrieve the transcript from a given media in WEBVTT format

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/v3/media/{mediaId}/transcript/webvtt": {
      "get": {
        "tags": [
          "Media"
        ],
        "summary": "Retrieve WEBVTT transcript",
        "description": "Retrieve the transcript from a given media in WEBVTT format",
        "operationId": "getSubtitleWebVttById",
        "parameters": [
          {
            "name": "mediaId",
            "in": "path",
            "description": "Media identifier, a UUID.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "SuccessfulOperation",
            "content": {
              "text/vtt": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "401": {
            "description": "UnauthorizedException"
          },
          "403": {
            "description": "ForbiddenException"
          },
          "404": {
            "description": "NotFoundException",
            "content": {
              "text/vtt": {
                "schema": {
                  "$ref": "#/components/schemas/VbErrorResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "VoiceBase V3 API",
    "version": "3.0.31",
    "description": "APIs for speech recognition and speech analytics, powering insights every business needs.",
    "contact": {
      "name": "VoiceBase Support",
      "url": "https://www.voicebase.com/contact-us/",
      "email": "support@voicebase.com"
    },
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    }
  },
  "tags": [
    {
      "name": "Media",
      "description": "the Media API"
    }
  ],
  "servers": [
    {
      "url": "https://apis.voicebase.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "VbError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "path": {
            "description": "path to source issue",
            "type": "string"
          },
          "error": {
            "type": "string"
          }
        }
      },
      "VbMessage": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "path": {
            "description": "path to source issue",
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "VbErrorResponse": {
        "type": "object",
        "x-voicebase-extension": true,
        "properties": {
          "status": {
            "type": "integer",
            "format": "int32",
            "description": "This is the HTTP Status Code."
          },
          "errors": {
            "description": "Is this Internal Server Errors (5xx)?",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VbError"
            }
          },
          "warnings": {
            "description": "Is this User Data Errors (4xx)?",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VbMessage"
            }
          },
          "reference": {
            "type": "string",
            "description": "A unique reference number identifying the request."
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 96,
      "1": 203,
      "2": 228,
      "3": 227,
      "4": 43,
      "5": 110,
      "6": 67,
      "7": 0,
      "8": 76,
      "9": 213,
      "10": 59,
      "11": 137
    }
  }
}
```