MailMasker API
Claude Code
Sessions

List your sessions

GET/api/v1/auth/sessions

Who can use this: Any signed-in accountAs Markdown

Each session shows the program it came from (user_agent), the network address it signed in from, and when it began (first_seen_at), which stays put however often it refreshes. expires_at is when its current token runs out, current marks the session making this call, and jti is the id to end it by.

Parameters

NameWhereWhat it is
user query Another account's address, to list its sessions instead. Site admins only; anyone else gets 403.

Good to know

  • A session whose token has run out isn't listed, though it can still refresh and come back. Signing out your other sessions ends those too.