With Postman Notebooks, you showcase your public APIs with interactive articles. Notebooks combine your documentation, code, and APIs in one place, where you guide your API consumers to their first 200 OK response.
For example, document the steps to get an API key. Then, ask your readers to add the API key to your notebook and invite them to send their first request. Postman will return a response to the same notebook. You can do something similar for real-world use cases and showcase your API's capabilities to your API consumers.
Your notebooks are linked to your public profile. Before you get started, make your profile public. Then, you can view your notebooks and create new ones.
To view your notebooks, do the following:
From the Notebooks tab, you can create a new notebook or open an existing one.
Open your notebooks and click New draft.
Start by naming your notebook and adding text to it. Postman saves your changes as you make them. You can format text, add input blocks, and add interactive blocks by selecting text or using the slash command.
You can also preview your draft at any time. To preview, click Preview. To return to the editor, click Edit Notebook.
You can format your notebook with text and block styles. Use text styles to bold, italicize, and strike through text. Use block styles to format headings, lists, quotes, and code blocks.
To format text, select it. Postman displays a text menu. Then, select one of the options, such as Bold.
To format a block of text, place your cursor at the start of the block and type a forward slash ("/"). Postman displays a block menu. Then, select one of the options, such as Quote.
You can add variables and reference them elsewhere in your notebook to create an interactive experience. For example, you can add an input block for your API consumer's email address and use a request block to send them a welcome message.
To add an input block to your notebook, do the following:
Open your notebook or create a new one.
Place your cursor where you want to add the input block. Then, type a forward slash ("/"). Postman displays a block menu.
Choose an input block type:
Name your input block.
(Optional) Define a default value.
You can reference your input block by its name. For example, if you name your input block "email", you can reference it elsewhere with the syntax {{email}}
.
With interactive blocks, API consumers can send requests and run code, all within your notebook. For example, add an input block for your API consumer's API key. Then, add a request block and connect it to one of your API requests. Someone reading your notebook can use these blocks and your documentation to send their first 200 OK response.
To add a request block to your notebook, do the following:
To add a code runner block to your notebook, do the following:
Before you publish your notebook, open your draft and click Preview. Walk yourself through the steps you outlined in your notebook. Then, invite others on your team to do the same.
When you're ready to publish your notebook, open your draft and click Publish.
Last modified: 2025/05/30