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.
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. (This can only be one
of
all,af,al,ar,ar-EG,ar-lb,az,bg,bn,da,de,el,en,es,es-mx,et,fa,fi,fr,fr-ca,ha,he,hi,hr,hu,id,it,ja,khm,kg,kk,ko,lt,lv,md,mk,ms,nl,no,pl,pt,pt-pt,ro,ru,sg-ma,sg-ms,sk,sl,sr,sv,sw,ta,te,th,tj,tl,tr,uk,ur,ur-lt,uz,vi,xh,yo,zh,zh-tw,zu)
Response
Unique identifier for the project associated with the uploaded VTT file. This
confirms the successful association of the subtitle file with the project.