prufy
Skip to the page

Signing inRetrieve this session

Signing in

Retrieve this session

Whether this device is signed in, and how many devices share the account.

GET/api/v1/session

email 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.

  • signedInboolean

    Whether this device has a session.

  • devicesinteger

    How many devices are signed in to this account, this one included.

  • emailstring | null

    The 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.