Skip to main content
POST
/
document
/
v1
/
{documentId}
/
exportToMyDrive
cURL
curl --request POST \
  --url https://aodocs.altirnao.com/api/document/v1/{documentId}/exportToMyDrive \
  --header 'Authorization: Bearer <token>'
{
  "documentIdMap": {},
  "folderId": "<string>",
  "jobId": "<string>",
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

documentId
string
required

The ID of the document

Query Parameters

attachmentIds
string[]

The list of attachments (by ID) to export

userToExportTo
string
required

The email of the user to export the attachments to

clientTimeZoneId
string

The timezone ID to format the name of the export folder in the user's My Drive. Formatted as a IANA Time Zone Database Name (ie: 'Europe/Paris', see: http://www.iana.org/time-zones).

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiExportResult response

documentIdMap
object
folderId
string
jobId
string
kind
string