Skip to main content

Documentation Index

Fetch the complete documentation index at: https://slidesgpt.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

The SlidesGPT API provides an easy way to embed presentations using Microsoft PowerPoint Online. The embed route returns a redirect response to the PowerPoint Online viewer.

Request Example

Send a GET request to:
https://api.slidesgpt.com/v1/presentations/{id}/embed

Sample Code (cURL)

curl -X GET "https://api.slidesgpt.com/v1/presentations/12345/embed" \
     -H "Authorization: Bearer YOUR_API_KEY"
Note: You must include your API key in the Authorization header. If you don’t have one, follow the steps in the Authentication Guide to get your API key.

Behavior

This request does not return JSON. Instead, it redirects the user to PowerPoint Online, where the presentation can be viewed.
Note: You can directly use this endpoint in an <iframe> or redirect users in your application.