cURL
curl --request GET \ --url https://api.example.com/v1/profile/settings \ --header 'Authorization: Bearer <token>'
{ "language": "en", "timezone": "Europe/Zurich", "notifications_enabled": true, "two_factor_enabled": true }
Retrieve user profile settings
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Profile settings retrieved successfully
Preferred language
en
de
fr
it
User timezone
"Europe/Zurich"
Whether notifications are enabled
Whether 2FA is enabled