0

We were using an Iframe, then we started to use the API for Google Drive. We want to allow users to create a Google Doc from within our system w/o leaving our application. Does anyone know if this is possible?

1 Answers1

0

Insert a new file with one of the Google Docs mimeTypes and wait for the response.

POST https://developers.google.com/drive/v2/reference/files/insert
{ "mimeType": "application/vnd.google-apps.document" }

Once response arrives, it'll contain an attribute called embedLink. Use embed link on iframe.

All available Google Docs mime types are on https://developers.google.com/drive/mime-types

Burcu Dogan
  • 9,153
  • 4
  • 34
  • 34