Get user preferences REST API
GET
/api/user/preferences
const url = 'https://hitkeep.com/api/user/preferences';const options = {method: 'GET', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hitkeep.com/api/user/preferences \ --cookie hk_token=<hk_token>Returns authenticated user preferences.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Preferences
Media typeapplication/json
object
default_locale
string
dismissed_onboarding_at
string format: date-time
Examplegenerated
{ "default_locale": "example", "dismissed_onboarding_at": "2026-04-15T12:00:00Z"}