Auth
Get current session
Returns the current session and user info.
GET
/api/auth/get-sessionbetter-auth.session_token<token>
Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.
In: cookie
curl -X GET "https://loading/api/auth/get-session"{
"user": {
"id": "string",
"name": "string",
"email": "string"
},
"session": {}
}{
"type": "https://docs.appstrate.dev/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Invalid or missing session",
"code": "unauthorized",
"requestId": "req_abc123"
}