Miro whoami (signed-in account)
Report which Miro account this browser is signed in as: the user id, email, name, and every team/company account it belongs to (id, title, type). Being signed out, including an expired session, is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Miro scripts.
Input
None
Output
evidence requiredloggedIn requiredname optionalemail optionalteams optionaluserId optionalFAQ
List Miro invoices
List Miro company billing invoices. Returns total plus invoices (id, date, description, amount, status, pdfUrl) — metadata only, with dates as ISO YYYY-MM-DD and amounts with their ISO currency, e.g. "10.00 EUR". Feed a row's pdfUrl to miro.com/download_invoice to fetch that invoice's PDF. Only a company or team billing admin can see billing; a personal account with no organization is reported as such rather than timing out.
Miro login (Google SSO)
Log into Miro with your Google account and land on the boards dashboard. Returns straight away if you're already signed in, so it's safe to run repeatedly.
Download a Miro invoice PDF
Download one Miro company billing invoice PDF, given the pdfUrl that miro.com/list_invoices returns. Saves the file to the device and returns its real filename plus the path it was saved to. Unlike the other download_invoice scripts it hands back a file on disk rather than the bytes inline, because Miro only releases these PDFs through a real browser download — so read the file from the returned path. Requires access to Miro company billing.
