Get current user email notification preferences
curl --request GET \
--url https://api.trycomp.ai/v1/people/me/email-preferences \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/people/me/email-preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/people/me/email-preferences"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)People
Get current user email notification | Comp AI API
Get current user email notification preferences in Comp AI. Invite and manage workforce members, training status, device compliance, email preferences.
GET
/
v1
/
people
/
me
/
email-preferences
Get current user email notification preferences
curl --request GET \
--url https://api.trycomp.ai/v1/people/me/email-preferences \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/people/me/email-preferences', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/people/me/email-preferences"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)Authorizations
API key for authentication
Response
200 - undefined
Was this page helpful?

