Spoar
Sign-in

Current session

GET
/v2/auth/session

Who is signed in, their role, and whether they may change settings.

Authorization

AuthorizationBearer <token>

An API token from POST /v2/tokens (at_live_...), or a project's secret key (sk_...) for server-side ingest.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v2/auth/session"
{  "user": {    "id": "usr_01J8Z3",    "login": "remcostoeten",    "name": "Remco Stoeten",    "avatarUrl": "https://avatars.githubusercontent.com/u/57683378"  },  "session": {    "expiresAt": "2026-10-27T16:40:01.000Z"  },  "role": "owner",  "isAdmin": true}