Search code examples
google-drive-apigoogle-slides-api

Google Slides - programmatically Get Publish to Web Link


Is there a way to "Publish to the Web..." a Google Slides presentation programmatically?

enter image description here

Unlike Sheets, Slides takes in additional parameters for publishing. I am trying to figure out how to push the presentation programmatically and get the published URL for use in my application.

enter image description here

Any help is greatly appreciated.


Solution

  • I haven't found publishing feature using Google Slides API. For this, you may want to file a feature request.

    Using Google Drive API, you may want to check Publishing revisions,

    For Google Docs, Sheets, and Slides you can publish any revision to the web by setting the published property. If the file is created in a G Suite domain, the publishedOutsideDomain property indicates whether the revision is accessible by anyone or if it is restricted to users of the domain.

    Watch the video of Google engineer discussing related tips and tricks for more information.