Note that this endpoint does not convert sub/idx or sup subtitles.
This endpoint can be used for validating and fixing srt files.
Posting an invalid srt file will return an error.
Posting a valid srt file will return 200 response.
The tool automatically fixes common mistakes in the uploaded srt file.
Field | Type | Required | Description |
---|---|---|---|
subtitle | File | Required | The input file that should be converted to srt |
{
errors: null,
download_url: "https://subtitletools.com/api/v1/download/6436c844e3"
}
Or, when a validation error occurs:
{
errors: [
"The subtitle field is required."
],
download_url: null
}