To translate subtitles Srt file, send a POST request to the https://api.groupdocs.cloud/v2.0/translation/srt GroupDocs.Translation Cloud REST API endpoint. To authorize the request, pass the access token in Authorization header (Bearer authentication).
The file and translation parameters are provided in JSON format in the request body.
Otherwise, it returns a HTTP status code corresponding to the error.
What’s next
Translation will take a few seconds, depending on the size of the file, the volume of its textual content and the current GroupDocs.Translation Cloud load. See the article Fetching translations for information on how to get translations from the server.