curl --request GET \
--url https://api.avidoai.com/v0/auth/session{
"user": {
"id": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"profilePictureUrl": "<string>",
"banned": true
},
"orgId": "<string>",
"accessToken": "<string>"
}Returns the currently authenticated session for cookie-based callers. Used by the apps/app frontend to centralise session validation through the API rather than calling Better Auth directly. Authenticated by Better Auth session cookie on the parent domain — NOT by API key / application id like the rest of the v0 API.
curl --request GET \
--url https://api.avidoai.com/v0/auth/session{
"user": {
"id": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"profilePictureUrl": "<string>",
"banned": true
},
"orgId": "<string>",
"accessToken": "<string>"
}