Get current user email notification preferences
GET
/v1/people/me/email-preferences
const url = 'https://api.varman.io/v1/people/me/email-preferences';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
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://api.varman.io/v1/people/me/email-preferences \ --header 'X-API-Key: <X-API-Key>'Get current user email notification preferences in Varman. Invite and manage workforce members, training status, device compliance, email preferences, and employee evidence records.