Google

Google Slides API

Reads and writes Google Slides presentations.

Productivity & workspace#openapi#analytics#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Reads and writes Google Slides presentations.

Endpoints 5

presentations

  • POSTApplies one or more updates to the presentation/v1/presentations/:presentationId:batchUpdateApplies one or more updates to the presentation. Each request is validated before being applied. If any request is not valid, then the entire request will…
  • POSTCreates a blank presentation using the title given in the request/v1/presentationsCreates a blank presentation using the title given in the request. If a presentationId is provided, it is used as the ID of the new presentation. Otherwise, a…
  • GETGets the latest version of the specified presentation./v1/presentations/:presentationId?commentsViewMode=COMMENTS_VIEW_MODE_UNSPECIFIEDGets the latest version of the specified presentation.

presentations.pages

  • GETGets the latest version of the specified page in the presentation./v1/presentations/:presentationId/pages/:pageObjectId?commentsViewMode=COMMENTS_VIEW_MODE_UNSPECIFIEDGets the latest version of the specified page in the presentation.
  • GETGenerates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the…/v1/presentations/:presentationId/pages/:pageObjectId/thumbnail?thumbnailProperties.mimeType=PNG&thumbnailProperties.thumbnailSize=THUMBNAIL_SIZE_UNSPECIFIEDGenerates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an…

API details

Base URL
https://slides.googleapis.com
Authentication
OAuth 2.0 (authorization code flow) with 7 scopes
An API key in the key query parameter
Operations
5 operations on 5 pathsGET 3POST 2
Main resources
presentations 3presentations.pages 2
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the Google Slides API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Google Slides API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 7 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Applies one or more updates to the presentation” (POST /v1/presentations/:presentationId:batchUpdate), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Google Slides API?

Reads and writes Google Slides presentations. It is listed under Productivity & workspace and has 5 endpoints.

Who publishes the Google Slides API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Google Slides API?

Requests go to https://slides.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Google Slides API?

It accepts 2 methods: OAuth 2.0 (authorization code flow) with 7 scopes; an API key in the key query parameter.

How many endpoints does the Google Slides API have?

5 operations on 5 paths (3 GET, 2 POST). The largest groups are presentations, presentations.pages.

Is forking the Google Slides API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.