List employees with alerts statistics
Retrieves a paginated list of employees who have been alerted by the Slash system in the workspace. For each employee, returns detailed information including their identification data and a breakdown of their email alerts:
- number of alerted emails received by the employee;
- number of alerted emails reported by the employee;
- number of alerted emails marked as safe by the employee.
Scopes required:
- inbox:read
Request
- Base URL: https://public-api.tryriot.com
- URL: https://public-api.tryriot.com/v1/slash/employees/alert_statistics
- Auth: API key in header x-api-key
Query parameters
Pagination cursor for retrieving the next page of results. This value is obtained from the 'x-next-cursor' response header of a previous API call. The cursor should be passed unchanged to fetch next pages. See https://docs.tryriot.com/api-reference/introduction#pagination for examples.
Maximum number of items to return. Maximum value is 100.
ID of the workspace
Filter records created after this date (included)
Filter records created before this date (included)
Headers
Maximum number of items to return. Maximum value is 100.
Pagination cursor for retrieving the next page of results. This value is obtained from the 'x-next-cursor' response header of a previous API call. The cursor should be passed unchanged to fetch next pages. See https://docs.tryriot.com/api-reference/introduction#pagination for examples.
Response
Employees with alerted emails stats
Example response
{
"data": [
{
"employee": {
"name": "John Doe",
"primary_email_address": "john.doe@tryriot.com"
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.