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日