Microsoft OneNote
App · Notes · 14 actions
Organize, create, and retrieve notebooks, sections, and pages in Microsoft OneNote.
Actions
| Action | What it does |
|---|---|
| Add to page | Add notes to an existing OneNote page, at the end or the start. |
| Add to-do to page | Add a to-do item, a line with a tick box, to the end of a OneNote page. |
| Create notebook | Create a new OneNote notebook. |
| Create page | Create a new page in a OneNote section. |
| Create section | Create a new section in a OneNote notebook. |
| Delete page | Delete a OneNote page. |
| Find pages | Find pages in any of your notebooks whose title contains some words, most recently changed first. |
| Get page content | Get the HTML content of a OneNote page. |
| Get page details | Look up a page's title, section, link and when it was made and last changed. |
| List all sections | List the sections in all of your notebooks, each with the notebook it's in. |
| List notebooks | List all OneNote notebooks for a user. |
| List pages | List all pages in a OneNote section. |
| List sections | List all sections in a OneNote notebook. |
| Rename page | Give a OneNote page a new title. |
Add to page
Add notes to an existing OneNote page, at the end or the start. Nothing already on the page is changed.
Inputs
- Page ID
page_idtextRequired - The ID of the page, from Create page or List pages.
- Content to add
html_contenttextRequired - What to add, written in HTML (for example, <p>Follow-up: send the minutes</p>).
- Where
positiontext - Add it at the end of the page (the default) or the start.One of:
end(At the end),start(At the start). Default:end.
Outputs
idtext- Page ID.
updatedtrue/false- Whether the content was added.
Example output
{
"id": "page2",
"updated": true
}Add to-do to page
Add a to-do item, a line with a tick box, to the end of a OneNote page. Write it as plain text.
Inputs
- Page ID
page_idtextRequired - The ID of the page, from Create page, List pages or Find pages.
- To-do
texttextRequired - What needs doing, for example Call Acme about the invoice.
Outputs
addedtrue/false- Whether the to-do was added.
idtext- Page ID.
texttext- The to-do that was added.
Example output
{
"added": true,
"id": "1-page123",
"text": "Call Acme about the invoice"
}Create notebook
Create a new OneNote notebook.
Inputs
- Notebook name
display_nametextRequired - The name for the new notebook.
Outputs
displayNametext- Notebook name.
idtext- Notebook ID.
Example output
{
"displayName": "New Notebook",
"id": "nb2"
}Create page
Create a new page in a OneNote section.
Inputs
- Section ID
section_idtextRequired - The ID of the section.
- Title
titletextRequired - The title of the page.
- Page content
html_contenttextRequired - The content of the page, written in HTML (for example, <p>Meeting notes</p>).
Outputs
idtext- Page ID.
titletext- Page title.
Example output
{
"id": "page2",
"title": "New Page"
}Create section
Create a new section in a OneNote notebook.
Inputs
- Notebook ID
notebook_idtextRequired - The ID of the notebook.
- Section name
display_nametextRequired - The name for the new section.
Outputs
displayNametext- Section name.
idtext- Section ID.
Example output
{
"displayName": "New Section",
"id": "sec2"
}Delete page
Delete a OneNote page.
Inputs
- Page ID
page_idtextRequired - The ID of the page to delete.
Outputs
deletedtrue/false- Whether deletion succeeded.
Example output
{
"deleted": true
}Find pages
Find pages in any of your notebooks whose title contains some words, most recently changed first.
Inputs
- Title contains
title_containstextRequired - Words the page's title contains, in any case, for example Acme kickoff.
- Most pages
limitnumber - How many pages to hand back, from 1 to 500. 100 if left blank.
Outputs
countnumber- How many pages were found.
valuelist- The pages found, most recently changed first.
Example output
{
"count": 1,
"value": [
{
"created_at": "2026-04-01T09:00:00Z",
"id": "1-page123",
"last_modified_at": "2026-04-02T16:20:00Z",
"section_id": "1-sec123",
"section_name": "Clients",
"title": "Acme kickoff",
"web_url": "https://onedrive.live.com/redir.aspx?page=1-page123"
}
]
}Get page content
Get the HTML content of a OneNote page.
Inputs
- Page ID
page_idtextRequired - The ID of the page.
Outputs
contenttext- HTML content of the page.
Example output
{
"content": "<html>...</html>"
}Get page details
Look up a page's title, section, link and when it was made and last changed. Use Get page content for what's on it.
Inputs
- Page ID
page_idtextRequired - The ID of the page, from Create page, List pages or Find pages.
Outputs
created_attext- When the page was made.
idtext- Page ID, for other OneNote steps.
last_modified_attext- When the page last changed.
section_idtext- The ID of the section it's in.
section_nametext- The name of the section it's in.
titletext- The page's title.
web_urltext- Where to open the page in OneNote on the web.
Example output
{
"created_at": "2026-04-01T09:00:00Z",
"id": "1-page123",
"last_modified_at": "2026-04-02T16:20:00Z",
"section_id": "1-sec123",
"section_name": "Clients",
"title": "Acme kickoff",
"web_url": "https://onedrive.live.com/redir.aspx?page=1-page123"
}List all sections
List the sections in all of your notebooks, each with the notebook it's in.
Inputs
None.
Outputs
countnumber- How many sections.
valuelist- The sections.
Example output
{
"count": 1,
"value": [
{
"displayName": "Clients",
"id": "1-sec123",
"notebook_id": "1-nb123",
"notebook_name": "Work"
}
]
}List notebooks
List all OneNote notebooks for a user.
Inputs
None.
Outputs
valuelist- List of notebooks.
Example output
{
"value": [
{
"displayName": "Notebook 1",
"id": "nb1"
}
]
}List pages
List all pages in a OneNote section.
Inputs
- Section ID
section_idtextRequired - The ID of the section.
- Title contains
title_containstext - Beta. Only pages whose title contains these words, in any case, to find a page by its title. Leave blank for every page.
Outputs
valuelist- List of pages.
Example output
{
"value": [
{
"id": "page1",
"title": "Page 1"
}
]
}List sections
List all sections in a OneNote notebook.
Inputs
- Notebook ID
notebook_idtextRequired - The ID of the notebook.
Outputs
valuelist- List of sections.
Example output
{
"value": [
{
"displayName": "Section 1",
"id": "sec1"
}
]
}Rename page
Give a OneNote page a new title. Nothing else on the page changes.
Inputs
- Page ID
page_idtextRequired - The ID of the page, from Create page, List pages or Find pages.
- New title
titletextRequired - The page's new title, for example Acme kickoff (done).
Outputs
idtext- Page ID.
titletext- The page's new title.
updatedtrue/false- Whether the title was changed.
Example output
{
"id": "1-page123",
"title": "Acme kickoff (done)",
"updated": true
}