Connected accounts

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.

get/connected-accounts/google_spreadsheets/{account_id}/spreadsheets

Request

  • Base URL: https://api.landbot.io/v0-alpha
  • URL: https://api.landbot.io/v0-alpha/connected-accounts/google_spreadsheets/{account_id}/spreadsheets
  • Auth: one of:
    • API key in header Authorization
    • API key in cookie sessionid
    • HTTP bearer

Response

The spreadsheets

Example response

{
  "data": [
    {
      "id": "1aBcD",
      "name": "Leads"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.