Skip to main content

Setup DND settings

Configures 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
Request Body required
  • enable_silent_mode_schedule boolean required
  • enable_dnd_mode_schedule boolean required
  • dnd_time_from string required
  • dnd_time_to string required
  • silence_time_from string required
  • silence_time_to string required
Responses

  • Missed json body or wrong param. Response sample:
      "error": "Wrong JSON body"
  • Required field is not provided. Response sample:
      "error": "Wrong JSON body: no value for `param`"
    where param - is a required field that was not provided
  • Field was of the wrong type. Response sample:
      "error": "Wrong JSON body: value `param` was of the wrong type"
    where param - is a field of the wrong type

Schema
  • error string
Loading...