Download Document Generator output

Retrieves the download location for a completed Document Generator output.
By default, the API responds with an HTTP redirect to the output content URL. Set redirect=false to return the download URL as a JSON response body instead.
You can also get a specific type of generated output for Google URLs, such as Google Slides or Goggle Docs.
This endpoint also supports the "pptx", "docx", "pdf", "gslides", "gdoc" keywords as special aliases which enables users to use this endpoint without getting the generated outputId beforehand.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the generated LiveDoc request.

string
required

Output identifier or output format name for the generated output to download.

Query Params
boolean
Defaults to true

When true, returns an HTTP redirect to the content URL. When false, returns the URL in a JSON payload.

Responses

redirect=false.

302

Redirect to the generated output content URL when redirect=true.

500

Unexpected server error while processing the request.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json