Skip to content

Process with upload

Upload: Media File

In order to upload a media file an PUT requets has to be made with the binary data used as the request body.

URL: PUT https://api.scriptix.io/api/v2/speech-to-text/session/${sessionId}

Request headers

The following headers need to be present

Parameter Value Description
x-zoom-s2t-key Scriptix Batch API Token API key of type real-time needed for authorization, this has to be the same as used for session initialization.
x-filename filename.dat Use this header to set the filename of the uploaded file for easy reference in the API portal

Responses

Status code Description Payload
200 New session initialized
400 Invalid language
401 Unauthorized
402 Payment required, a subscription is missing
415 Content Invalid
422 Body Invalid
500 Server Error