GET - User Do Not Disturb

This method fetches the Do Not Disturb (DND) and Ring Splash (RS) status of a single. It takes a single User ID of the target user you would like to retrieve the status of.

Parameters

  • user_id (str): Target User you would like to know the DND/ RS status of

Returns

  • Dict: Target users DND/ RS status. True is enabled and False disabled.

How To Use:

my_api.do_not_disturb.get_user_do_not_disturb(userId)

Examples Data (Formatted)

{
  "isActive": true,
  "ringSplash": true,
  "userId": "[email protected]"
}

Last updated

Was this helpful?