Calendly whoami (signed-in account)
Report which Calendly account this browser is signed in as: the user id, email, name, timezone and organization id. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Calendly scripts.
Input
None
Output
evidence requiredloggedIn requiredname optionalemail optionaluserId optionaltimezone optionalorganizationId optionalFAQ
Calendly login
Log into Calendly via Google SSO (same-tab redirect). Picks the account (optional email arg), clears consent, and lands in the Calendly app. Requires a browser with an existing Google sign-in — does not work in hosted/cloud browser environments.
List Calendly invoices
List Calendly billing invoices (org admin only). Per invoice returns date, title, amount, currency, status, invoiceId, chargeId and downloadUrl (a direct public Stripe PDF link — open in a browser to save). Chain calendly.com/login_with_google before this.
Calendly API: download invoices
Log into Calendly via Google SSO, list billing invoices, and download each invoice's PDF into the browser's download directory. Returns per invoice date, title, amount, currency, status, invoiceId, chargeId, filename and path (path is null when no PDF was available for that charge). Runs only on the browser extension, since it needs a native Google SSO session. Org admin only.
