1
Get an API key
Keys start with their project’s region:
ak_eu_ (European Union) or ak_us_ (United States). Store it in an environment variable:2
Create a document
3
Download the Word file and the PDF
The call waits until the document is ready and returns the links in
outputs:Links expire after 5 minutes. Get new ones with
GET /documents/{id}/outputs.Next steps
Watch it being written
Add
"stream": true.Adjust the style
In JSON or in free text.