Exports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB. Try it now.
||The ID of the file.|
|Required query parameters|
||The MIME type of the format requested for this export.|
|Optional query parameters|
The paths of the fields you want included in the response. If not specified, the response includes a default set of fields specific to this method. For development you can use the special value
This request allows authorization with at least one of the following scopes:
Some scopes are restricted and require a security assessment for your app to use them. For more information, see the authentication and authorization page.
Do not supply a request body with this method.
If successful, this method returns the file content as bytes. For a list of Google Workspace documents and MIME type conversion formats, see Google Workspace documents and corresponding export MIME types.
Use the APIs Explorer below to call this method on live data and see the response.