1

In SharePoint users can use the "Alert me" function to get notified of file changes in a document library (or single files):

enter image description here

Is there a client API to set those alerts? E.g. from a SharePoint Framework web part?

We'd like to provide a more streamlined UI for a user to manage their alerts. We'd need access (create/read/update) to the user's alerts to do this. Can this be done?

(SharePoint API is fine, Graph API is fine.)

1

You can read alerts from SharePoint site using:

<siteUrl>/_api/web/alerts

You can read alerts from SharePoint site using:

<siteUrl>/_api/web/alerts/add

For more information, check this thread: Create list alert using REST

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.