Skip to content

Retrieve a document


Documents are currently in BETA and the API interface may change when this is deemed necessary.

Retrieve a document

Use correct API token

It is impodent that the correct API token is used for document creation. Only the token linked to the TranscriptSession can be used.

URL: GET${sessionId}/document/${documentId}

Request headers

The following headers need to be present

Parameter Value Description
X-Zoom-S2T-Key Scriptix Batch API Token API key belonging to TranscriptSession

Request path arguments

Argument Description
sessionId Scriptix Transcript Session ID returned from a Batch Session
documentId Scriptix Document ID returned from creating a document

Request query parameters

Key Type Description
format string Default: json

Returns the document in the specified format. See supported document formats.

Supported document formats

  • json: Scriptix ExtendedDocumentModel JSON response.
  • sbv: SBV subtitle format
  • srt: SRT subtitle format
  • ttml: TTML Subtitle Format
  • vtt: VTT subtitle format

Responses codes

Status code Description
200 Document in requested format
400 Bad request
401 Unauthorized, no valid authentication found
403 Forbidden, access to resource is not allowed
404 Not found, the transcript session is not found or does not belong to the provided API token



Format: APIResultResponse<DocumentModel>

    "result": {
        "id": "12780b54-5575-44e4-bbca-0a410b432183",
        "created": "2021-01-25T10:31:46.960411+00:00",
        "last_modified": "2021-01-25T10:31:46.960411+00:00",
        "filename": "Example document",
        "type": "caption",
        "document": [
                "start": 525,
                "stop": 6252,
                "speaker": "M1",
                "text": "This is just an example.\non two lines."

<?xml version="1.0" encoding="UTF-8"?>
<tt xmlns="" xml:lang="en-us">
    <metadata xmlns:ttm="">
        <ttm:title>Scriptix TTML</ttm:title>
    <styling xmlns:tts="">
        <style xml:id="s1" tts:textAlign="center" tts:fontFamily="Arial" tts:fontSize="100%"/>
    <layout xmlns:tts="">
        <region xml:id="bottom" tts:displayAlign="after" tts:extent="80% 40%" tts:origin="10% 50%"/>
<body region="bottom" style="s1">
        <p begin="00:00:00.000" end="00:00:02.850" style="s1" region="bottom">the quick brown fox jumps over the</p>
        <p begin="00:00:02.850" end="00:00:03.570" style="s1" region="bottom">lazy dog</p>
00:00:00.000 --> 00:00:02.850
the quick brown fox jumps over the

00:00:02.850 --> 00:00:03.570
lazy dog
00:00:00.000 --> 00:00:02.850
the quick brown fox jumps over the

00:00:02.850 --> 00:00:03.570
lazy dog

NOTE This file has been generated by Scriptix

00:00.000 --> 00:02.850
the quick brown fox jumps over the

00:02.850 --> 00:03.570
lazy dog