I'm following (https://dev.office.com/sharepoint/docs/apis/webhooks/webhooks-reference-implementation) tutorial to integrate Sharepoint Online into our application.

The application is written using Asp.Core 2 with Sharepoint REST API because CSOM is not supported by the core.

The problem is that in the tutorial webhooks are created only for one site. How do I create webhooks for other sites in Sharepoint Online? How do I get a list of these sites using REST API?

  • 1
    Hello @Martin, Welcome to SharePoint StackExchange :) , Could you please take a quick tour at sharepoint.stackexchange.com/tour to get informed badge! Thank you for your contribution! – Mohamed El-Qassas MVP Aug 9 '17 at 14:22
  • The only possible way to get list of sites that I have found was through search query API: _api/search/query?querytext='contentclass:\"STS_Site\"' – Martin Aug 16 '17 at 14:30

Your Answer

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

Browse other questions tagged or ask your own question.