Skip to main content
GET
/
v1
/
cuts
/
{cut_id}
/
subtitle
/
export
Export a cut's subtitle as SRT or VTT
curl --request GET \
  --url https://roughy-api-staging.fly.dev/v1/cuts/{cut_id}/subtitle/export \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

Pass your API key as Authorization: Bearer sk_…. Mint a key from your dashboard's API-keys page.

Path Parameters

cut_id
string<uuid>
required

Identifier of the cut.

Query Parameters

format
string
required

srt or vtt (VTT carries per-word karaoke timing).

Response

The subtitle as a caption file (attachment).

The response is of type file.