Gets violations as a result of policy enforcement on messages. The message part of this violation is the same as documented in Create Message v4
Last updated
Was this helpful?
📘 sharedMessage
Note that the sharedMessage attribute is only returned when the message represented by this class is a wall post sharing another message.
Please note the payload example with sharedMessage object included.
🚧 Required Permissions
Calling this endpoint requires the Expression Filter Policy Management role.
See Bot Permissions for a list of roles and associated privileges.
Get violations as a result of policy enforcement on messages.
Retrieves DLP v3 message related violations for a given time range
get
/v3/dlp/violations/message
Query parameters
startTimeinteger · int64required
Timestamp of the first required violation.
This is a long integer value representing milliseconds since Jan 1 1970
endTimeinteger · int64
Timestamp of the last required violation.
This is a long integer value representing milliseconds since Jan 1 1970
If unspecified, it will default to current time of the request.
nextstring
Offset of the next chunk of violations. Value is null for the first request.
limitinteger
Max No. of violations to return. If no value is provided, 50 is the default. The maximum supported value is 500.