The spreadsheets an account reaches
The files the account can reach, as Google Drive identifies them, which is what a block's
spreadsheet_id takes.
The account's scope lists only the files the app created or the person picked in the
builder, so a file you know of is usually missing here: one made in Drive by hand, or one the
person's own Drive tooling created or found. Its id — the long segment of the file's URL
between /d/ and /edit — is still valid for the block and for the two reads below, which
take any file the account can open in Drive.
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.
Responses
- application/json
- application/json
- application/json
- application/json
- application/json
- application/json
Request Example for get/connected-accounts/google_spreadsheets/{account_id}/spreadsheets
curl https://api.landbot.io/v0-alpha/connected-accounts/google_spreadsheets/1/spreadsheets \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"data": [
{
"id": "1aBcD",
"name": "Leads"
}
]
}