Ollang API Reference
Upload VTT File
Upload VTT subtitle files to associate with existing video projects
POST
Upload VTT (WebVTT) subtitle files to associate with your existing video projects for enhanced accessibility and translation workflows.
Authorizations
This endpoint requires API key authentication. Include your API key in the request header:- Header name:
X-Api-Key - Header value: Your API key from the Ollang dashboard
- Format:
X-Api-Key: your-api-key-here
Body Parameters
The VTT (WebVTT) subtitle file to upload. Only .vtt format is supported.
Maximum file size: 1GB. Note: For testing in the API playground, the upload
limit is 5MB.
Unique identifier for the project to associate this VTT file with. This should
be an existing project ID from a previous video upload.
Name of the file being uploaded. This will be used as the identifier for your
uploaded subtitle content.
The source language of the content in the uploaded file. Use one of the codes
listed in Supported Languages.
The special value
all is also accepted for auto-detection workflows.Response
Unique identifier for the project associated with the uploaded VTT file. This
confirms the successful association of the subtitle file with the project.