The Postman API Network is the world's largest repository of public APIs. API publishers and community users alike can leverage the power of the Postman API Network to make their Postman public workspaces, collections, APIs, and flows available for other developers to use.
To get started with the Postman API Network, you'll need to:
When naming your team, workspaces, and collections, note the following conventions:
Ready to get started? Following is a step-by-step tutorial to help you craft a high-quality public workspace on the Postman API Network.
To host workspaces, you need a public team profile. The public team profile serves as the all-encompassing hub for any publicly listed assets on the Postman API Network. It's a place to introduce your organization and present all the public workspaces, collections, and flows you've made available.
When you create a Postman account, you're given the option to join any of the existing teams that share your company domain and have turned on team discovery. If you intend to share your public API assets on behalf of your organization, join your company's primary team. If a team doesn't exist yet, you can create it.
If this is the first time you're creating a team in Postman, you get to build your team profile and set your team up for success by implementing best practices from the outset.
Using this tutorial, you'll set up a public profile and implement best practices in the context of the Postman API Network. To learn more about team profiles on Postman, see Configure team settings.
To create a team profile:
Navigate to your account settings and select Create Free Team.
Name your team and enter a URL. As a discoverability best practice, name your team after your organization and change your URL to your organization's name.
If your chosen URL is taken, contact Support. In the meantime, append
-apis
to the organization name. You can change the URL later.
After you set up your team's name and URL, you'll be taken to your first team workspace. You'll revisit the workspace, but first you'll finish customizing your team profile.
You can manage your profile picture and banner directly from your profile page, but by following these instructions, you can also set your favicon.
To ensure quality, use the following resolutions for your files:
Other settings you can manage in this area include:
Personalize your profile by filling out your team description, team summary, social media links, and highlights.
go.postman.com/your-team-URL
) or select your profile picture on the left side of your home page. Then select Team Settings > View Team Profile.Edit each section available on your team profile while following the best practices described below.
Section | Best practice |
---|---|
Team description |
|
Team summary |
|
Social media links | Postman enables you to add a website domain, a Twitter/X account, and a GitHub account. You can add as many links as applicable. The more social media accounts you link, the more confidence you convey. |
Highlights | Pin all collections and workspaces. If there are too many collections and workspaces to list, select the most recent and relevant. |
After your public profile is branded and ready to showcase your work, create your first workspace. You'll be creating a public workspace to house your public-facing collections and other resources.
To create a public workspace, do the following:
Navigate to your home page and from the header select Workspaces > Create Workspace.
Select one of the templates or start with a blank workspace.
If you choose to start with a template, the API demos and API testing templates are the best suited for public workspaces.
Name your workspace. Selecting the right workspace name is important for SEO, readability, and discoverability. Denote the services users can find inside. Examples of useful workspace names are:
Set the access level of your new workspace to public. Under Who can access your workspace?, select Anyone on the internet.
You can make your workspace public from the outset. However, this may not always be the best way to start. On the Overview page of your workspace in Postman under the Settings tab, you can change the access level of your workspaces at any time. For example, you can prepare a workspace for public consumption in private and then change it to public once you're satisfied with the resources you want to provide.
Whether personal, team, Partner (Professional and Enterprise plans only), Private, or public, workspaces enable you to work with and manage all your Postman assets.
The Settings tab also enables you to manage the sidebar and decide which elements to make available to your users.
For example, if you only want to share collections but don't need to make your API reference available, toggle the APIs off to hide the API reference tab from public users.
Workspaces dynamically evolve as you update your APIs, and the user experience improves as you curate the content you create for your users. Therefore, your workspace doesn't have to be perfect to be shared. Changes can be made later, and collections can be improved. Continuously manage your workspace to help provide the best possible user experience for your API consumers. Learn more about how to prepare your public workspaces for the Postman API Network.
Now that your workspace is ready to be populated, it's time to add your first collection.
Postman Collections are fully customizable sets of API requests with corresponding documentation that you can curate and share with users to help them understand and start testing your APIs.
The best way to create your first public collection is to generate it from an existing API specification. You're able to import your API specification in several ways.
In this example, you'll generate your first collection by importing an OpenAPI specification residing on your local machine.
From the top of your workspace sidebar, select Import and then select the API specification you'd like to import or drag the file into the import section.
Select to import your specification as a collection only or as your full reference with a Postman Collection. Check the options in View Import Settings. Including your API reference can be useful, but in the interest of getting your first collection set up, select the first option.
Select Import. Your first collection appears in your workspace.
The automatically generated collection will use your API specification to generate basic documentation of your API automatically. You need to make sure the collection includes what a user needs to start testing your APIs. Leverage Postman to refine the collection and add more context and resources for your users.
To help you in your curating process, consider these best practices compiled based on the most successful collections offered on the Postman API Network.
Adding response examples can be a big help to first-time users. Being able to preview what a response may look like can prepare users to know what to expect when testing your API and can even aid in troubleshooting if something goes wrong.
Add response examples everywhere you can. All you need to do is send a request, get a response, and save the response as an example.
Both the workspace overview page and the collection overview pages have full description fields that you can use to provide your users with direction. Most often, you'll recognize that the best collections on the API Network are those that include getting started instructions in their descriptions.
When writing your getting started instructions, keep the user experience in mind and include all the information a new user would need to achieve a successful call with your API.
These description fields accept Markdown and enable you to include rich assets like images and embedded videos.
Use variables throughout your collection. As you're reviewing your automatically generated collection and the metadata, include variables to enable value replacement when necessary:
Consider these best practices when creating and sharing environment variables:
Specify example values as the Initial value for the variable. Don't add sensitive data as the Initial value because it's shared with users who can access the environment. The Current value is used in your local instance of Postman, and is never synced to your account or shared with your team unless you choose to persist it.
To show users which environments work with your HTTP collection, you can pin environments to that collection. If your user forks the collection, pinned environments fork with the collection. To learn more, see Pin environments to collections. Users don't need to set up new environments from scratch as they can fork the environment alongside the collection, but they might still need to set up variables to use the API.
Never include sensitive information such as API tokens in your variables. If you want to show the developer an example of the secret, use a placeholder for a variable or vault secret, but never a real secret. A placeholder for a vault secret is recommended because your API consumers can add the vault secret to their Postman Vault with their own value.
After you set up your collection, you can enhance it by implementing some of the following quality-of-life best practices.
If your API specifications live in a repository on one of the major version control systems (GitHub, Bitbucket, GitLab, or Azure), you can import your specifications directly from your repository. This way, you can update your API reference and collections when new versions are created.
Another way publishers are able to maintain their collections as new changes are made is by using the Postman API.
The Postman API enables Postman users to programmatically access data stored in their Postman account.
You can update your existing collections in a private or team workspace and then use the Postman API to update your public collections, without having to toggle them private.
Lastly, authentication issues tend to be one of the biggest blockers new users encounter when testing new APIs. You can simplify the auth process and ensure consumers' sensitive data is protected by leveraging Postman's Guided Auth feature. This feature prompts your users to provision access when using your APIs.
Guided Auth is the most secure option for your users because it enables them to securely save their credentials in Postman Vault. Once they set it up, they can reuse their credentials in future requests to your API.
Users who test against your configured URLs are prompted with your authorization instructions, even if they're testing your APIs on their own without the help of your collections.
You can set up multiple authentication schemes for your APIs for different endpoints on the same base URL.
After you've branded your team profile, set up your workspace, curated your first collection, configured Guided Auth, and implemented quality-of-life improvements for your users, it's time to share your collection with the world.
At this point, if you haven't already, check that your workspace access level is set to public to ensure you're officially listed on the Postman API Network.
To guide your users from external sources, such as websites, blogs, developer portals, documentation, or your public workspaces, back to your Postman collections, you can embed Run in Postman buttons.
Learn more about best practices for sharing your public workspace with the world.
You've created your team profile on the Postman API Network, built a high-quality public workspace, and provided some great collections for your users. This is only the beginning as public workspaces and the elements you include are dynamic resources that will grow and adapt as your APIs grow and change.
Using your public workspace metrics, you can see the types of issues your users are encountering, and then make changes to help your users overcome blockers.
Encourage users to use the commenting features across your workspace to create a feedback loop with them. You'll get a better insight into the issues they may be encountering and a chance to respond to them directly.
To stay in the loop, sign up for the Postman newsletter to be notified of new feature releases and relevant blog posts.
Last modified: 2024/10/01