Signing in
Retrieve this session
Whether this device is signed in, and how many devices share the account.
/api/v1/sessionemail is the confirmed alert address: the one that can sign another device in. When it's null, this device is the only way into the account.
Authentication
Works with or without the session cookie. Without it there's less to return. How sessions work.
Response
200 OK, with every field below present. Times are ISO 8601 strings in UTC.
signedInbooleanWhether this device has a session.
devicesintegerHow many devices are signed in to this account, this one included.
emailstring | nullThe confirmed alert address, which is what signs another device in. Null when there isn't one.
Errors
Nothing specific to this route.
Any route can also answer 500 with internal_error. Every error has the same shape, described in Errors.