Get DND settings
Returns DND (Do not disturb) settings.
There is two modes:
- silent mode, when incoming call is visible on screen but sound is disabled
- dnd mode, when incoming call is skipped
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- enable_silent_mode_schedule boolean
Determines whether the silent mode is enabled. Incoming calls are visible for user but sound is muted
- enable_dnd_mode_schedule boolean
Determines whether the DND mode is enabled. Incoming calls are ignored.
- dnd_time_from string
DND mode starting time
- dnd_time_to string
DND mode ending time
- silence_time_from string
Silence mode starting time
- silence_time_to string
Silence mode ending time
{
"enable_silent_mode_schedule": false,
"enable_dnd_mode_schedule": false,
"dnd_time_from": "02:00",
"dnd_time_to": "05:00",
"silence_time_from": "22:00",
"silence_time_to": "01:00"
}
{
"enable_silent_mode_schedule": false,
"enable_dnd_mode_schedule": false,
"dnd_time_from": "02:00",
"dnd_time_to": "05:00",
"silence_time_from": "22:00",
"silence_time_to": "01:00"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...