Put Work Notification Rules
PUT /work/preferences/notification-rules
PUT
/work/preferences/notification-rules
Create or replace the listed rules and return the caller’s full set. PERSONAL KEY ONLY.
One invalid rule refuses the whole request (422) before anything is written.
Authorizations
Parameters
Header Parameters
Request Body required
Rules to create or replace. One invalid rule refuses the whole request.
Responses
200
Successful Response
object
data
required
A Work direct message, chat, approval decision, work item, question, rule set or suggestion list, as the app returns it.
object
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string