The tabs of a spreadsheet
Each tab, with its title and its own id.
title is what the block's sheet_name takes, and the only one of the two that is
compiled. id is what the editor keeps to know which tab is selected: writing it where the
title goes leaves a block that fails when the bot runs.
Needs the permission to view integrations.
Path Parameters
- Type: integeraccount
_id requiredThe connected account, as
GET /connected-accounts/google_spreadsheetsnumbers it and as a block'sauth_idnames it. - Type: stringspreadsheet
_id requiredThe file, as Google Drive identifies it.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/connected-accounts/google_spreadsheets/{account_id}/spreadsheets/{spreadsheet_id}/sheets
curl 'https://api.landbot.io/v0-alpha/connected-accounts/google_spreadsheets/1/spreadsheets/{spreadsheet_id}/sheets' \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"data": [
{
"id": "0",
"title": "Leads"
}
]
}