Ask a person to connect a Calendly account

​

The same as for Google Sheets, through Calendly: it answers a url that a member of the brand opens, signed in to the app, to see who asked and approve the connection at Calendly. When they finish, a Calendly account is connected to the brand, and the connection below says which one it is.

The accounts already connected are listed by GET /connected-accounts/calendly: start a connection only when none of them will do. Connecting the same Calendly account again makes another one with a new id.

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.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
Request Example for post/connected-accounts/calendly/connections
curl https://api.landbot.io/v0-alpha/connected-accounts/calendly/connections \
  --request POST \
  --header 'Authorization: Token YOUR_AGENT_TOKEN'
{
  "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"
  }
}