Overview
The Google Slides API allows you to create, read, and modify Google Slides presentations programmatically, including managing slides, text boxes, images, shapes, and speaker notes. It is commonly used for auto-generating pitch decks, reports, or training materials from data sources. Like other Google Workspace APIs, it requires OAuth 2.0 and all structural edits are done via a batchUpdate request with typed request objects.
Beginner Tip
Google Slides has a steep learning curve because all edits go through the batchUpdate endpoint using typed request objects — there is no simple setTitle or addSlide shortcut. Start by calling presentations.get to understand the JSON structure of an existing presentation before attempting writes. Use placeholder IDs carefully, as every element on a slide has a unique object ID that you must reference correctly.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"status": "success",
"data": {
"result": "Data from Google Slides",
"description": "API to read, write, and format Google Slides presentations",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
presentationId Unique identifier of the Google Slides presentation. slides Ordered array of slide objects comprising the entire presentation. slides[].objectId Unique identifier for the slide, required when referencing it in update operations. slides[].pageElements Array of elements on the slide such as text boxes, images, and shapes. title The title of the presentation as shown in Google Drive. layouts Array of layout templates used by slides in the presentation. Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://developers.google.com/slides/api/reference/rest";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"Authorization": "Bearer YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Similar APIs
View All →Bitbucket
The Bitbucket REST API (v2) provides programmatic access to Bitbucket Cloud repositories, pull requests, pipelines, and user accounts, enabling you to automate code review workflows and integrate Bitbucket into your CI/CD toolchain.
GitHub
⭐ Beginner's PickThe GitHub REST API gives you programmatic access to nearly everything on GitHub — repositories, issues, pull requests, commits, users, organizations, GitHub Actions, and more.
Gitlab
The GitLab REST API provides comprehensive programmatic control over GitLab projects, including repositories, merge requests, pipelines, issues, CI/CD variables, and user management.
Google Docs
The Google Docs API provides full programmatic control over Google Docs documents, including reading content, inserting text, applying styles, and managing document structure.
DomainDb Info
⭐ Beginner's PickDomainsDB.info provides a searchable database of registered domain names, allowing you to find all domains containing specific keywords, phrases, or patterns across various TLDs.