Connected accounts

Ask a person to connect a Google account

Connecting an account is a consent Google asks a person for in the browser, and nothing a token can do on its own. This starts one: it answers a url that a member of the brand opens, signed in to the app, to see who asked and go through Google. When they finish, the account is connected to the brand, and the connection below says which one it is.

The link lives fifteen minutes and is answered once. Hand it to a person in the brand who may edit integrations: anyone else is refused at the page, and so is a link already answered. Then poll the connection every few seconds; there is no push.

Takes no body. Needs the permission to edit integrations, as connecting an account in the app does.

post/connected-accounts/google_spreadsheets/connections

Request

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

Response

The connection, and where it is followed

Example response

{
  "data": {
    "id": "2c7e9d10-3b4f-4c5a-8e6d-9f0a1b2c3d4e",
    "url": "https://app.landbot.io/integrations/google/spreadsheets/connect/2c7e9d10-3b4f-4c5a-8e6d-9f0a1b2c3d4e/",
    "expires_at": "2026-09-16T09:18:19"
  }
}

Changes

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