The OneNote API is now available on sites routes in Microsoft Graph v1.0. This means that you can now access SharePoint site-hosted team notebooks via the OneNote APIs in Microsoft Graph.
At Microsoft Build, we announced the availability of the OneNote APIs in Microsoft Graph v1.0. You can use these APIs to build rich integrations with OneNote notebooks stored in users’ OneDrive for consumer and OneDrive for Business, Office 365 groups, and now on SharePoint sites as well! For example:
GET https://graph.microsoft.com/v1.0/sites/{sitesId}/onenote/notebooks
To learn more and to get started with the OneNote APIs:
- Try out the APIs in the Graph Explorer.
- See the OneNote reference documentation.
- Install the updated Microsoft Graph SDKs.
As always, please send us your feedback. Connect with us on Twitter by posting with #MicrosoftGraph and #OneNote, and post your questions on Stack Overflow, tagged MicrosoftGraph and OneNote. Happy coding!