Preferences
Get current user API key expiry notifications for this instance.
Get current user API key expiry notifications for this instance. The request is scoped to preferences accessible to the authenticated caller.
GET
/
api
/
v1
/
preferences
/
api-key-notifications
Get current user API key expiry notifications for this instance.
curl --request GET \
--url https://api.revoengine.com/api/v1/preferences/api-key-notifications \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/preferences/api-key-notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/preferences/api-key-notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"inAppEnabled": true,
"emailEnabled": true,
"firstReminderDays": 7,
"customReminderDays": null
}Response
200 - application/json
⌘I
Get current user API key expiry notifications for this instance.
curl --request GET \
--url https://api.revoengine.com/api/v1/preferences/api-key-notifications \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.revoengine.com/api/v1/preferences/api-key-notifications', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/preferences/api-key-notifications"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"inAppEnabled": true,
"emailEnabled": true,
"firstReminderDays": 7,
"customReminderDays": null
}
