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 unofficial API: download invoices
List Calendly billing invoices for the signed-in account and download each invoice's PDF into the browser's download directory. Requires an existing Calendly session — run calendly.com/login_with_google first; this script never signs in itself and fails with "Not signed in" otherwise. Returns per invoice date, title, amount, currency, status, invoiceId, chargeId, filename and path (path is null when no PDF was available for that charge). Org admin only.
