This functionality is available only with Barracuda Email Protection Premium and Premium Plus plans. To upgrade to one of these plans, contact your Barracuda Networks Sales Representative.
Retrieves a list of user-reported emails for a Microsoft 365 tenant.
Endpoint
GET /beta/accounts/{accountId}/forensics/{tenantId}/user-reported-emails
Parameters
Name | Type | Required | Description |
---|---|---|---|
Path Parameters | |||
accountId | string | * | The Barracuda Cloud Control account ID obtained from the Get Accounts API. |
tenantId | string | * | The Microsoft 365 tenant ID obtained from the Get Tenants API. |
Query Parameters | |||
page | integer | The current page to return. Default value : 0 | |
size | integer | The number of results to return. Default value : 10 | |
states | array[string] | The states used to filter results:
Available values : DISMISSED, REMEDIATED, SUBMITTED Default value : SUBMITTED | |
unit | string | The type of time unit to apply to unitAmount. Available values : days, hours Default value : days | |
unitAmount | integer | The amount of time units for returning results. Default value : 30 |
Response Codes
Code | Description |
---|---|
200 | OK |
401 | Unauthorized: There is a missing or incorrect API token in header or the client did not have permission to access the requested resource. |
Response
Entry | Description | Type | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
itemsTotal | The total number of items. | integer | ||||||||||||||||||||||||||||||||||||
pageNum | The current page number. | integer | ||||||||||||||||||||||||||||||||||||
pagesTotal | The total number of pages. | integer | ||||||||||||||||||||||||||||||||||||
results* | The list of objects that each represent information about an email that a user reported as suspicious.
| Array | ||||||||||||||||||||||||||||||||||||
resultsCount | The number of items on the current page. | integer |
Sample Request
curl -X GET "https://api.barracudanetworks.com/beta/accounts/{accountId}/forensics/{tenantId}/user-reported-emails" \
--header "Authorization: Bearer {access_token}"
Sample Response
{
"resultsCount": 1,
"pageNum": 0,
"itemsTotal": 1,
"pagesTotal": 1,
"results": [
{
"messageId": "AAkALgAAAAAAHYQDEapmEc2byACqAC-EWg0A3GJ3eSIXUEGSD6mjKTCnzwABR5A8xAAA",
"tenantId": "f571bbf9-114c-4759-9ecb-2f852065595a",
"reportedBy": "jdoe@barracuda.com",
"deliveredDate": "2021-04-05T10:00:00.000000Z",
"reportedDate": "2021-04-05T10:30:00.000000Z",
"searchCriteria": {
"senderEmail": "attack@virus.com",
"senderName": "",
"subjectQuery": "Example Subject"
},
"state": "REMEDIATED"
}
]
}