Luma whoami (signed-in account)
Report which Luma account this browser is signed in as: the user id, username, display name and email. 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 Luma scripts.
Input
None
Output
evidence requiredloggedIn requiredname optionalemail optionaluserId optionalLuma user id, e.g. usr-XXXXXXXXXXXXXXX.
username optionalLuma username (luma.com/user/<username>); null when the account never picked one.
FAQ
Luma API: register for free Luma events
An unofficial Luma API for attendee registration: Luma's own API lets a host add guests to their events, not register you for someone else's, and this does that programmatically in one call. Register the signed-in Luma account for a free public event by its slug. Custom registration questions are answered from what you pass in `answers`, and a phone number from `phone_number` — nothing is invented, so an unanswered required question is refused rather than guessed at. Required terms and agreement boxes are ticked only when you pass accept_terms:true; optional marketing opt-ins are never ticked. Fails loudly on events that aren't free or aren't open for registration. This signs you up as an attendee under your real identity, so confirm the event with the person you're helping before running it — cancelling afterward is a separate action.
Cancel registration for a Luma event
Cancel the signed-in Luma account's registration for an event by its slug. A registration already cancelled is reported as such rather than an error; an event the account was never registered for is refused, since there is nothing to cancel. This notifies the event organizer that you won't attend, so confirm the event with the person you're helping before running it — re-registering afterward is a separate action.
Luma API: search events by topic or city
Search upcoming public events on Luma, filtered by a category topic (e.g. "crypto", "fitness") or a curated city (e.g. "paris", "london"), paginated.
