Guides

Download transcripts

Get the text, timestamped segments and speakers as JSON, or a DOCX, PDF, SRT or VTT file.

Code examples use API and HEADERS (headers in JavaScript), set up as in the Quickstart.

The transcript as JSON

When a transcript is completed, retrieving it gives you everything as data:

  • text: the whole transcript as plain text, one line per segment.
  • segments: each piece of speech with its start and end time in seconds, its text and its speaker (when speaker labels are on).
  • speakers: the names of everyone who speaks.
Response
"segments": [
  { "start": 0.0, "end": 4.2, "text": "Okay, let's start with the launch.", "speaker": "Maya" },
  { "start": 4.2, "end": 9.8, "text": "Design is done, QA needs two more days.", "speaker": "Daniel" }
],
"speakers": ["Daniel", "Maya"]

Files

To get a document or subtitles, export the transcript. The response is the file itself, with a Content-Disposition header holding a file name.

formatWhat you get
txtPlain text
docxWord (DOCX)
pdfPDF
srtSubtitles (SRT)
vttSubtitles (VTT)
csvSpreadsheet (CSV)
jsonJSON

Two switches control what's included: timestamps and speakers (both true by default).

curl "https://scribefiles.com/v1/transcripts/TRANSCRIPT_ID/export?format=srt" \
  -H "Authorization: Bearer $SCRIBEFILES_API_KEY" \
  -o episode.srt

curl "https://scribefiles.com/v1/transcripts/TRANSCRIPT_ID/export?format=txt&timestamps=false&speakers=false" \
  -H "Authorization: Bearer $SCRIBEFILES_API_KEY" \
  -o episode.txt

Naming the speakers

Speakers start as Speaker 1, Speaker 2… Give them real names once, with update, and every later export uses them:

curl -X PATCH https://scribefiles.com/v1/transcripts/TRANSCRIPT_ID \
  -H "Authorization: Bearer $SCRIBEFILES_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"speaker_names": {"Speaker 1": "Maya", "Speaker 2": "Daniel"}}'

Editing by hand

Every transcript has a url that opens it in the ScribeFiles editor, where you can listen and fix words. Edits made there show up in the API and in later exports.

Questions about the API? Contact us.