File > importthe collection into Postman to get started.
"apiKey": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" "apiSecret": "xxxxxxx-xxxxxxx-xxxxxxx-xxxxxxx"
More > Edit
apiSecretas Workspace variables on Postman as shown below.
[POST] Get tokenAPI you will be able to generate an
accessTokenthat will expire in 1 hour from the time of token generation. You will be able to upload an audio/video file or a file URL using this
Get tokenand click on
[POST] Upload fileor use
[POST] Upload file url(Recommended) to submit/upload a file URL.
link(URL) and click on
txnIdwhich is a unique ID generated for a particular file or URL submitted to Marsview.
[POST] Upload requestand hit
[GET] Request Statusis used to get the status of the file being processed. The status will go from
"completed". If there's an error transcribing your file, the status will go to
"error"and there will be an
"msg"key in the response JSON which will contain more information.
"completed", you'll see a full JSON response with your transcription text, like this by sending a request to the
[GET]Metadataand click on