I am using Webhook subscription to fetch change notifications from my sharepoint site. If I delete a row from the sharepoint site, can I receive notification for that also, if so how?

Shubham Biswas 0 Reputation points
2025-04-09T08:19:34.0266667+00:00

This is my subscription request in go, for now it receives only those notification where any field is updated.

subscriptionRequest := models.SubscriptionRequest{
	ChangeType:         "updated",
	NotificationURL:    notificationURL,
	Resource:           resource,
	ExpirationDateTime: expirationTime,
	ClientState:        clientState,
}

How do I get notification if an item is deleted?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,498 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 2,295 Reputation points Microsoft External Staff
    2025-04-11T09:44:46.24+00:00

    Hi Shubham Biswas,

    Thanks for reaching out to Microsoft!

    The Microsoft Graph REST API can deliver change notifications to clients through various endpoints, including webhooks, Event Hubs, and Event Grid. An app can subscribe to changes on the Microsoft Graph resources - Supported Graph Resources:

    1.driveItem on OneDrive (personal)

      Changes to content within the hierarchy of any folder: /users/{id}/drive/root

    2.driveItem on OneDrive for work or school

     Changes to content within the hierarchy of the root folder: /drives/{id}/root, /users/{id}/drive/root

    3.List under a SharePoint site

      Changes to content within the list: /sites/{site-id}/lists/{list-id}

    For these resources, you can use the changeType parameter to indicate the type of change in the subscribed resource that raises a change notification. The supported values are created, updated, deleted.

    ChangeType Property

    Note: Drive root item and list change notifications support only the updated changeType.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.