Calendly whoami (signed-in account)
Report which Calendly account this browser is signed in as: the user id, email, name, timezone and organization id. Fails with a sign-in error when the browser is not signed in to Calendly.
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 Stripe PDF link; open it in a browser to save). A signed-out browser fails with a signed-out error asking to sign in to calendly.com (calendly.com/login_with_google can do it); an account that is not an org admin fails asking to sign in as one. An account with no charges returns an empty list.
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.
