API referenceSign-in and account
Get the signed-in person
GET
Returns who the current session or API key acts as, and through which credential.
Any signed-in caller. Available to MCP clients and the assistant.
cookie
seylo_session<token>Success.
application/json- response
viewer*via*string|stringcurl -X GET 'https://example.com/api/v1/auth.whoami'Example Response
{ "viewer": { "id": "string", "email": "[email protected]", "name": "string", "role": "owner" }, "via": "session"}Finish signing in with a 2FA code POST
Exchanges the ticket from a secondFactor LoginResult and a 6-digit authenticator code (or one unused recovery code) for a session. A recovery code is used up. Needs no sign-in. Not available to MCP clients or the assistant.
List optional features GET
Says which optional features are usable on this panel (GitHub sign-in, passkeys, MCP, AI assistant, telemetry, notification channels) and, for each one that is off, why. Any signed-in caller. Available to MCP clients and the assistant.