Add request blocks to your notebook

You can add API requests and reference their responses 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.

Add a request block

To add a request block, do the following:

  1. Open your notebook or create a new one.
  2. Place your cursor where you want to add the request block. Then, type a forward slash ("/"). Postman displays a block menu.
  3. Choose Request icon Request Block.
  4. Name your request block.
  5. Search for your public request or paste its URL or UUID. Then, select it. Postman displays the request, a button to send the request, and any other inputs you or your API consumer may need to define.
  6. If necessary, define the input values.
  7. (Optional) Define an override.
  8. Click Run icon Send.

You can reference your request block by name. For example, if you name your request block "user", you can reference its response in another request block with the syntax {{user}}. Or you can reference it in a code runner block with the syntax $user.

You can also use dot notation to reference data within the response. For example, in another request block, you can reference the user's first email with the syntax {{user.emails.0}}. Or in a code runner block, you can reference the same value with the syntax $user.emails[0].

Last modified: 2025/07/28