Go to one of your workspaces and use the Postman API Builder to create an API. Postman supports version control and a variety of API definition types such as Protobuf, OpenAPI (formerly Swagger), WSDL, RAML, and GraphQL.
You can use the API Builder to create a new API and optionally connect it to a repository for version control. You can then build your API from scratch or import a definition or collection to get started.
To create an API, do the following:
From the Postman sidebar, select APIs.
Select +.
Enter your API's name.
Choose whether to connect a repository or continue without one. To learn more about repositories and version control, see Manage your API changes using version control.
Git integrations are available on Postman team plans. If you are on a Free individual plan, create a new team to connect to a remote repository. Learn more about what's included with each plan.
Define or import a definition:
To delete an API, you must have the Workspace Admin or API Admin role. You can't undo this action.
When you delete an API, you delete the API and all its elements, such as its collections, environments, and definition. This extends to anything you published.
To delete your API, do the following:
Postman recommends upgrading your APIs to the latest format. The Postman v9 API format has been deprecated. If you have v9 APIs, you can upgrade them to the new format. After upgrading, you can continue working with your APIs in Postman. In the future, all APIs that are still in v9 format will be automatically upgraded.
The Postman API v9 endpoints have also been deprecated. Any workflows that use the v9 endpoints will no longer work with an API that's been upgraded to the new format. Instead, use the new Postman API endpoints for your workflows.
Postman can display APIs created in prior versions of Postman. To work with the API in Postman v10 and later, you need to upgrade the API to the new format. You'll be prompted to upgrade the API when you make changes to it, for example, adding a collection, adding a definition, or connecting to a Git repository. Select Upgrade this API to complete the upgrade.
There are some differences in the way API versions work in Postman v10 and later compared to v9:
sample-api
with two versions v1
and v2
, they would appear as sample-api:v1
and sample-api:v2
.Last modified: 2024/05/20