Skip to main content
POST
cURL

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

application/json
spreadsheetId
string
必須

Google Drive file id of the spreadsheet, as returned by the Google Picker. The OAuth grant only covers files the user picked (drive.file scope).

Minimum string length: 1
integrationId
string

Id of a connected Google Sheets user integration; its access token is resolved (and refreshed) server-side and never leaves the server for API calls.

accessToken
string

Raw Google OAuth access token with the drive.file scope (never persisted by the server). Ignored when integrationId is provided.

Minimum string length: 1
includeSampleRows
boolean

Also return each tab's first few rows as cell texts (one extra Sheets API request). Off by default: callers that only list tabs should not pay for it.

レスポンス

200 - application/json

Returns the spreadsheet title and its tabs with grid sizes.

spreadsheet
object
必須
最終更新日 2026年9月15日