Export a Google Workspace document
GET {{baseUrl}}/files/:fileId/export?mimeType={{mimeType}}&key={{key}}&oauth_token={{oauthToken}}
Exports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
mimeType | string | (Required) The MIME type of the format requested for this export. | |
alt | string | Data format for the response. | |
fields | string | Selector specifying which fields to include in a partial response. | |
key | string | API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | |
oauth_token | string | OAuth 2.0 token for the current user. | |
prettyPrint | string | Returns response with indentations and line breaks. | |
quotaUser | string | An opaque string that represents a user for quota purposes. Must not exceed 40 characters. | |
userIp | string | Deprecated. Please use quotaUser instead. |
RESPONSES
status: OK
""