The Calendly accounts connected to the brand
The accounts a calendly block can go through, numbered the way its auth_id takes them.
Each one is a Calendly user somebody connected to the brand, under the name Calendly had for
them, and with their own scheduling_url: the page that offers every event type they have,
which is what the block's scheduling_url takes when no single event type is meant. An
empty list is answered by POST /connected-accounts/calendly/connections, a link a person in
the brand opens to approve the connection at Calendly, not by anything a token does on its
own.
Accounts connected in the builder are listed too. A Calendly user connected more than once is
listed once per connection, newest first, all with the same scheduling_url; a block naming
any of them works.
What comes back is the id, the name and the page. Never a token: the credential stays where it is.
Needs the permission to view integrations, as the API the builder goes through does.
Responses
- application/json
- application/json
- application/json
- application/json
curl https://api.landbot.io/v0-alpha/connected-accounts/calendly \
--header 'Authorization: Token YOUR_AGENT_TOKEN'
{
"data": [
{
"id": 4,
"name": "Ada Lovelace",
"scheduling_url": "https://calendly.com/ada"
}
]
}