Rekamedika Docs
Session

POST /get-session

POST
/api/auth/get-session

Get the current session

Query Parameters

disableCookieCache?boolean

Disable cookie cache and fetch session from database

disableRefresh?boolean

Disable session refresh. Useful for checking session status, without updating the session

Response Body

application/json

curl -X POST "https://example.com/api/auth/get-session"
{  "session": {},  "user": {}}

Is this page helpful?