OneNote API sample for Node.js is now on GitHub

Just a quick note here to let folks know that we are making a new sample available today for folks who are using Node.js. Node has become very popular over the last several years, and we want to make it as easy as possible for this community to start using the OneNote API.

OneNote API sample in Node.js

If you like Node.js, please try this sample out. Feel free to also fork and send us a pull request if you’d like to help us improve it!


James (@jmslau)

Comments (3)

  1. Petr Glotov says:

    Hi Nick, I emailed you about my issue, did you get my message?

  2. Nick Barnwell (OneNote) says:

    Hi, sorry to hear you're having trouble with authentication. The error you're receiving is due to a mismatched redirect URI. Navigate to the 'API Settings' screen (…/4mp8.png) for your app from the Live Developer Center (…/index) and ensure that the URL you're attempting to use is registered for the appID you're using. If you need more help, please reach out to me at


    Nick on behalf of the OneNote API Team

  3. Enhanced redirection security says:

    Hi James, I don't see 'enhanced redirection security' option on the app page, and my sample code can't connect, onenote server returns

    Could you help? Thanks.

Skip to main content