Skip to content

Latest commit

 

History

History
76 lines (54 loc) · 2.11 KB

File metadata and controls

76 lines (54 loc) · 2.11 KB

title: Get domain-related alerts API description: Learn how to use the Get domain-related alerts API to retrieve alerts related to a given domain address in Microsoft Defender for Endpoint. ms.service: defender-endpoint ms.author: painbar author: paulinbar ms.localizationpriority: medium manager: bagol audience: ITPro ms.collection:

  • m365-security
  • tier3
  • must-keep ms.topic: reference ms.subservice: reference ms.custom: api search.appverid: met150 ms.date: 11/11/2025 appliesto:
    • Microsoft Defender for Endpoint Plan 1
    • Microsoft Defender for Endpoint Plan 2

Get domain-related alerts API

API description

Retrieves a collection of Alerts related to a given domain address.

Limitations

  • You can query on alerts last updated according to your configured retention period.
  • Rate limitations for this API are 100 calls per minute and 1,500 calls per hour.

Permissions

When obtaining a token using user credentials, the user needs to have at least the following role permission: View Data. For more information,see Create and manage roles.

A response includes only alerts, associated with devices, that the user has access to, based on device group settings. For more information,see Create and manage device groups.

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Use Microsoft Defender for Endpoint APIs

Permission type Permission Permission display name
Application Alert.ReadWrite.All 'Read and write all alerts'
Delegated (work or school account) Alert.ReadWrite 'Read and write alerts'

HTTP request

GET /api/domains/{domain}/alerts

Request headers

Header Value
Authorization String

Request body

Empty

Response

If successful and domain exists - 200 OK with list of alert entities. If domain doesn't exist - 200 OK with an empty set.

Example

Request

Here's an example of the request.

GET https://api.security.microsoft.com/api/domains/client.wns.windows.com/alerts