← providers

Google Slides

Read and manage Google Slides presentations

Endpoints

Call these through the okoro proxy at https://okoro.ai/p/google-slides

ActionMethodPathMin scope
Read presentationGETread
Create presentationPOSTwrite
Batch update presentationPOSTwrite
Read pageGETread
Get page thumbnailGETread

Examples

Every request requires a short-lived operation token scoped to a single action.

1. Get an operation token

Exchange your service token for a short-lived operation token scoped to a single action.

TOKEN=$(curl -sX POST "https://okoro.ai/t/tokens" \
  -H "Authorization: Bearer $OKORO_SERVICE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"provider": "google-slides", "scope": "read", "intent": "describe what you are doing"}' \
  | jq -r '.token')

2. Call the API

Use the operation token as a Bearer token. The proxy forwards the request to Google Slides and logs the action.

Read presentation
curl -X GET "https://okoro.ai/p/google-slides/presentations/{id}" \
  -H "Authorization: Bearer $TOKEN"
Create presentation
curl -X POST "https://okoro.ai/p/google-slides/presentations" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Batch update presentation
curl -X POST "https://okoro.ai/p/google-slides/presentations/{id}:batchUpdate" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
Read page
curl -X GET "https://okoro.ai/p/google-slides/presentations/{id}/pages/{id}" \
  -H "Authorization: Bearer $TOKEN"
Get page thumbnail
curl -X GET "https://okoro.ai/p/google-slides/presentations/{id}/pages/{id}/thumbnail" \
  -H "Authorization: Bearer $TOKEN"

Scopes

Your service token must be configured with at least the required scope level.

read
GET
/presentations/* /presentations/*/pages/*
write
GET POST
/presentations /presentations/* /presentations/*:batchUpdate
update
GET POST
/presentations /presentations/* /presentations/*:batchUpdate
delete
GET POST
/presentations /presentations/* /presentations/*:batchUpdate
all
GET POST
/**