GET /api/user/session

Authentication

API Key (cookie: better-auth.session_token)

Responses

200 Session info
application/json
user unknown REQUIRED
curl -X GET 'https://motioness.com/api/user/session'
const response = await fetch('https://motioness.com/api/user/session', {  method: 'GET'});const data = await response.json();console.log(data);
import requestsresponse = requests.get('https://motioness.com/api/user/session')print(response.json())
200 Response
{  "user": {    "id": "<string>",    "email": "<string>",    "name": "<string>"  }}
Ask a question... ⌘I