Share and collaborate on APIs in Postman

When you define your APIs in Postman using the API Builder, each API is associated with a workspace. You can share access to your APIs, discuss them in comments, and view schema activity.

Contents

Sharing APIs

You can share APIs with collaborators by going to the API you want to share in the sidebar. Select the more actions icon More actions icon next to the API you want to share, then select Share.

Share API

For more details about sharing APIs, see Share your work in Postman.

Collaborating on APIs

You can move APIs to shared private, team, or public workspaces to collaborate with your team on API development.

You must be an Admin on an API or the Workspace Admin to move the API to another workspace. Learn more about roles and permissions.

To move an API to a shared workspace, do the following:

  1. Select APIs in the sidebar.

  2. Select the more actions icon More actions icon next to an API and select Move.

  3. Use the search box to find the workspace you want to move the API to, or select the filter icon Filter icon to filter workspaces by visibility.

    You can move APIs to personal, private, team, and public workspaces that you have access to. You can't move APIs from team, private, or public workspaces to a personal workspace.

  4. Select the workspace, then select Move API. Any collections in the API will move with the API to the new workspace.

Move API

Tagging APIs

Tagging APIs is available on Postman Enterprise plans. You can apply shared tags to workspaces, collections, and APIs. Tags must be between two and 64 alphanumeric characters, starting with an alphabetic character, and contain only dashes and no spaces. You can add up to five tags.

Adding shared tags to APIs enables you to organize and search for APIs.

Once you add tags to the API, you can select a tag to open search results associated with the tag in a new tab.

To learn more about searching using tag names in Postman, see Search Postman. You can also search using tag names in the Private API Network when searching elements in the network, elements to add to the network, and elements to request to add to the network.

To add tags to an API, do the following:

  1. Select APIs in the sidebar.

  2. Select an API.

  3. Select the Tags section to edit it.

    Add tags to an API
  4. Select an existing tag or enter a new tag. If you're adding a new tag, enter the new tag name and then select Create "tag-name".

    Add new tags to an API
  5. Select the area outside of the Tags section to save your changes.

To remove tags from an API, do the following:

  1. Select APIs in the sidebar.

  2. Select an API.

  3. Select the Tags section to edit it.

  4. Select the close icon Close icon next to a tag.

    Remove tags from an API
  5. Select the area outside of the Tags section to save your changes.

Watching APIs

The watch option enables you to receive an email or in-app notification when a team member belonging to the same workspace modifies the API. For example, you'll receive a notification when a team member updates the API's definition, adds an element to the API, or adds a comment to the API.

Select Watch to start watching the API.

Watch Option

For more information about the changes to the API, select the notifications icon Notifications icon in the Postman header.

You will also receive an email with the information regarding who made the change, what the change was, and when it was made.

You won't receive notifications for changes that you made.

Commenting on APIs

You can add one or more comments to an API. Use comments to discuss your APIs with collaborators in Postman, keeping the conversation in context and available to other stakeholders.

API producers (Admin role or Editor role) can add comments to an API. API consumers (Viewer role) can't add comments to an API and won't see comments made by API producers. However, API consumers can comment on published versions of an API.

To add a new comment to an API, do the following:

  1. Select APIs in the sidebar and select the API you want to comment on.
  2. Select the comments icon Comments icon in the right sidebar.
  3. Enter your comment and select Comment.
Commenting on an API

You can also add comments to collections you've added to your API and to requests and folders in that collection. Learn more about commenting on a collection.

To leave an inline comment on an API definition, do the following:

  1. Select an API in the sidebar to expand it.
  2. Select Definition under the API, then select the definition file you want to comment on.
  3. Switch to comment mode by selecting the comments icon Comments icon in the editor pane.
  4. Highlight part of the definition, enter your comment, and select Comment.
Adding an inline comment

Formatting API comments

You can use Markdown in your comments. Check out the Markdown Cheatsheet on GitHub for tips on formatting.

To mention a collaborator in a comment, type @ followed by their name, then choose the person from the auto-suggested list. When you mention a teammate in a comment, Postman sends them a notification.

Editing, deleting, or linking to an API comment

To manage API comments, select an API or a definition file in the sidebar, then select the comments icon Comments icon in the right sidebar.

Select the more actions icon More actions icon next to a comment and do one of the following:

  • Select Copy link to copy a direct link to the comment to your clipboard. Share the link with your teammates so they can view or reply to the comment.
  • Select Edit to make changes to the comment.
  • Select Delete to delete the comment.
Managing an API comment

If you have the Admin role for the workspace, you can delete comments made by any contributor, but you can't edit comments made by others.

Replying to an API comment

To reply to an API comment, select an API or a definition file in the sidebar, then select the comments icon Comments icon in the right sidebar. Select Reply on the comment you want to reply to. Enter your reply and select Reply.

Replying to an API comment

Resolving API comments

You can resolve a comment after it's been addressed. Select an API or a definition file in the sidebar, then select the comments icon Comments icon in the right sidebar. Select the resolve icon Resolve comment icon to resolve a comment and any associated replies.

Resolving an API comment

You can't undo resolving a comment, but you can view resolved comments by selecting the filter icon Filter icon in the comments pane.

Commenting on published APIs

You can publish your API to share the current state of your API with consumers. Keep in mind the following when publishing an API:

  • When you publish an API version, comments made by API producers aren't published with the API.
  • API consumers can't add comments to an API, but they can add comments to a published API version.

Commenting on Git-linked APIs

You can connect a Git repository to your API to sync your API between Postman and the repository. Keep in mind the following differences when commenting on Git-linked APIs:

  • Comments are associated with a branch. If you add a comment while working on one branch, those comments won't be visible when you switch to another branch.
  • You must commit and push changes on a branch before you can add a new comment on that branch. (You can reply to an existing comment without committing and pushing changes.)
  • When you merge a branch, comments remain on the branch being merged and aren't merged to the target branch.

Using the changelog

You can view a history of changes to your API schemas and all linked collections. To access the changelog, open an API, then select the changelog icon Changelog icon in the right sidebar.

If you connect your API to a Git repository, the changelog is replaced by the Source Control pane. Learn more about API version control.

The changelog shows a list of changes made to the schema and associated elements. Select each entry for more details.

API Builder changelog

Last modified: 2023/07/15