Scripts
Export a screenplay as Fountain, Final Draft or PDF.
The Writers Lab's export menu, through its core. Fountain and Final Draft (fdx) come back as text (encoding: utf8); a PDF base64-encoded (encoding: base64) — all in one JSON envelope with a filename and content type. The title page is kept unless includeTitlePage=false; fromPage / toPage pick a page range; font sets a PDF's typeface. Refused with 409 script_state_invalid for a version not parsed yet. Read-only; costs no credits.
get/scripts/{scriptUploadId}/export
Request
- Base URL: https://docs.sleeperhit.studio/api/v1
- URL: https://docs.sleeperhit.studio/api/v1/scripts/{scriptUploadId}/export
- Auth: HTTP bearer
Query parameters
format'fountain' | 'fdx' | 'pdf' required
includeTitlePageboolean
Default true.
fromPageinteger
toPageinteger
font'screenplay-sim' | 'courier-prime' | 'courier-new' | 'final-draft'
A PDF's typeface.
Response
The exported screenplay.
Changes
No recorded changes to this operation across all 1 revision of this API.