GET
/dnd.infoGet a user's Do Not Disturb status
Retrieves the current Do Not Disturb status for a user. Omit user to retrieve the authenticated user's status, or provide a user identifier to inspect another user's status when permitted.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
tokenstringoptional
Authentication token with the `dnd:read` scope.
userstringoptional
The user whose Do Not Disturb status to retrieve; defaults to the authenticated user when omitted.
200Returns the user's Do Not Disturb state, snooze state when available, remaining snooze time, and scheduled start and end timestamps.
dnd_enabledbooleanrequired
next_dnd_end_tsintegerrequired
next_dnd_start_tsintegerrequired
okbooleanrequired
snooze_enabledbooleanoptional
snooze_endtimeintegeroptional
snooze_remainingintegeroptional
defaultReturned when the specified user cannot be found or authentication, permissions, account status, or request encoding is invalid.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
okbooleanrequired
Error handling
token must provide authentication with the dnd:read scope. When supplied, user must identify an existing user that the authenticated user is permitted to inspect.