Media

Translate Media

Changed on

Translates the transcript for a media.

Requires api token with one of the following permissions

Read, update & delete anything

Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.

post/medias/{mediaHashedId}/translate

Request

  • Base URL
    https://api.wistia.com/modern
  • URL
    https://api.wistia.com/modern/medias/{mediaHashedId}/translate
  • Auth
    HTTP bearer

Path parameters

mediaHashedIdstring required

The hashed ID of the media.

Headers

X-Wistia-API-Versionstring required

Request body

target_languagestring required

The language to translate the transcript to. Use the bibliographic ISO 639-2 form or a supported regional or script IETF tag.

source_languagestring

The language of the source transcript. Use the bibliographic ISO 639-2 form or a supported regional or script IETF tag. If not provided, the media's default transcript language will be used.

Response

Successfully queued background job for translation of the transcript.

messagestring required

A confirmation message that the background job has been queued.

Changes