Sign in

Create page in section

documented

Create a new page in a given section by posting HTML content.

POST https://graph.microsoft.com/v1.0/me/onenote/sections/{section-id}/pagesSectionsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://graph.microsoft.com/v1.0/me/onenote/sections/{{$section_id}}/pages" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: text/html; charset=utf-8" \
  -H "Accept: application/json" \
  -d '<!DOCTYPE html>\n<html>\n  <head>\n    <title>{{$title}}</title>\n    <meta name="created" content="{{$created}}"/>\n  </head>\n  <body>\n    <p>{{$description}}</p>\n  </body>\n</html>'
Create page in section · Microsoft OneNote · OpenIntegrations