Profile

Get user profile

Get the current user's profile (display_name, language).

GET/api/profile

Authorization

better-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/profile"
{
  "id": "string",
  "displayName": "string",
  "language": "fr"
}
{
  "type": "https://docs.appstrate.dev/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "Invalid or missing session",
  "code": "unauthorized",
  "requestId": "req_abc123"
}