Read this device's routine notification and urgent-alert preferences
GET
/v1/mobile/devices/current/notification-preferences
const url = 'https://api.vocapable.com/v1/mobile/devices/current/notification-preferences';const options = {method: 'GET', headers: {Authorization: 'Bearer <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://api.vocapable.com/v1/mobile/devices/current/notification-preferences \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
MobileNotificationPreferences
Per-device native-alert preferences; no critical-alert/DND-bypass option exists.
object
urgent_alerts_enabled
Urgent Alerts Enabled
boolean
categories
MobileNotificationCategoryPreferences
Routine delivery categories; each remains an ID-only, server-authorized alert.
object
operations
Operations
boolean
booking
Booking
boolean
integration
Integration
boolean
subscription
Subscription
boolean
coach
Coach
boolean
quiet_hours
Any of:
MobileNotificationQuietHours
A local-time quiet window for routine notifications only.
object
enabled
required
Enabled
boolean
start_time
required
Start Time
string
end_time
required
End Time
string
timezone
required
Timezone
string
null
Example
{ "urgent_alerts_enabled": false, "categories": { "operations": true, "booking": true, "integration": true, "subscription": true, "coach": true }}