getMe
# getMe
GET
/me
const url = 'http://localhost:8080/api/v1/me';const options = {method: 'GET', headers: {cookie: 'hs_session=<hs_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/v1/me \ --cookie hs_session=<hs_session>Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Current member and session info.
Media typeapplication/json
object
member
required
object
id
required
string
username
required
string
displayName
required
string
role
required
string
theme
required
string
textScale
required
number
reducedMotion
required
boolean
shareVisits
boolean
showAiSummaries
boolean
avatar
createdAt
required
string format: date-time
household
required
object
id
required
string
name
required
string
defaultLocale
required
string
memberCount
required
integer
baseUrl
required
string format: uri
createdAt
required
string format: date-time
effectiveLocale
required
string
csrfToken
string
Examples
Exampleseed
Derived from fixtures/seed.json.
{ "csrfToken": "csrf_demoWebToken0123456789abcdef", "effectiveLocale": "en", "household": { "baseUrl": "http://localhost:5173", "createdAt": "2026-09-17T09:00:00.000Z", "defaultLocale": "th", "id": "hh_01j9vd2c703tt6a613pxhc9s0s", "memberCount": 3, "name": "The Wongs' Homestead" }, "member": { "avatar": null, "createdAt": "2026-09-17T09:00:00.000Z", "displayName": "Mali", "id": "mem_01j9kt0d8rwgmhnmxkmv0frnr0", "lastSeenAt": null, "locale": "en", "reducedMotion": false, "role": "owner", "shareVisits": true, "showAiSummaries": true, "textScale": 1, "theme": "system", "username": "mali" }}Missing or invalid credentials.
Media typeapplication/problem+json
object
type
required
string format: uri
title
required
string
status
required
integer
code
required
string
i18nKey
string
detail
string
fields
Array<object>
object
path
required
string
code
required
string
i18nKey
string
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "code": "example", "i18nKey": "example", "detail": "example", "fields": [ { "path": "example", "code": "example", "i18nKey": "example" } ]}