Skip to Content
SeyloDocs
API referenceSign-in and account

Get the signed-in person

GET
/api/v1/auth.whoami

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.

Authorization

cookieseylo_session<token>

Response Body

Success.

application/json
  1. response
viewer*
via*string|string
Example Request
curl -X GET 'https://example.com/api/v1/auth.whoami'
Example Response
{  "viewer": {    "id": "string",    "email": "[email protected]",    "name": "string",    "role": "owner"  },  "via": "session"}