Postman integration for AI agents.
Postman integration for AI agents with secure authentication and server-side credential injection. Open Connector runs the OAuth, seals the token in an encrypted vault, and serves Postman tools to your agent over MCP or a typed API — credentials injected server-side, every call audited, nothing leaving your infrastructure. Open source (AGPL-3.0) and self-hostable.
Real Postman actions, managed and audited.
Your user connects Postman once; your agent can then accelerate API development with Postman’s all-in-one platform. Streamline collaboration and simplify the API lifecycle for faster, better results — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.
- 1
Your user grants Postman access once (OAuth) — the token lands in the vault.
- 2
Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.
- 3
Every routed call appends a hash-chained audit record — nothing leaves your infra.
Supported Postman tools.
274 tools are generated from the published Postman catalog. Descriptions are plain text; each action remains subject to its configured authentication and tool allowlist.
Showing 274 tools. All published catalog entries are included in this page's server-rendered HTML.
- Add a collection
- Adds a collection to an API. To do this, use the following `operationType` values: - `COPY_COLLECTION` — Copies a collection from the workspace and adds it to an API. - `CREATE_NEW` — Creates a new collection by providing the new collection's content. For a complete list of values, refer to the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). - `GENERATE_FROM_SCHEMA` — Generates the collection from an API schema. - `options` — An **object** that contains advanced creation options and their values. You can find a complete list of properties and their values in Postman's [OpenAPI to Postman Collection Converter OPTIONS documentation](https://github.com/postmanlabs/openapi-to-postman/blob/develop/OPTIONS.md). These properties are case-sensitive. For examples of each method, see the collection's response examples.
- DEPRECATEDv11APICollections12
- Add a workspace
- Publishes a workspace in your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).
- DEPRECATEDv11Private API Network1
- Add discovered services to the API Catalog
- Adds discovered services to the API Catalog. Accepts up to 20 services in a single call.
- API CatalogDiscovery Services
- Add system environment associations
- Adds workspace-environment associations to a system environment.
- API CatalogSystem Environments
- API definition validation
- Performs an analysis on the given definition and returns any issues based on your [predefined rulesets](https://learning.postman.com/docs/api-governance/configurable-rules/configurable-rules-overview/). This endpoint can help you understand the violations' impact and offers solutions to help you resolve any errors. You can include this endpoint to your CI/CD process to automate schema validation. **Note:** - The maximum allowed size of the definition is 10 MB. - You must [import and enable](https://learning.postman.com/docs/api-governance/configurable-rules/configuring-api-governance-rules/) Postman's [OWASP security rules](https://postman.postman.co/api-governance/libraries/postman_owasp/view) for this endpoint to return any security rule violations.
- API Governance
- Approve or deny an access request
- Approve or deny a team's access request.
- TeamsAccess Requests
- Connect a Git respository to an SDK
- Connects a Postman source element (collection or specification) to a Git repository for one SDK language. This creates a new connection in the `active` state. **Note:** - Each source and language pair maps to a single connection. If a connection already exists for the pair, this returns `409 Conflict` response. - To update an existing connection, use the PUT `/sdk-git-connections/{sdkGitConnectionId}` endpoint. - The `autoUpdatePullRequestsEnabled` property is only available to **Enterprise** plan users. If the user is on a **Team** plan, this value is always `false`.
- SDKsSDK Git Connections
- Create a collection
- Creates a collection. For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). **Note:** - This request uses example values in the request body for context when creating a collection. For additional ways to create a collection, see the collection's examples. - If you do not include the `workspace` query parameter, the system creates the collection in the oldest personal Internal workspace you own.
- Collections
- Create a collection comment
- Creates a comment on a collection. **Note:** This endpoint accepts a max of 10,000 characters.
- CollectionsComments
- Create a collection comment
- Creates a comment on an API's collection. To create a reply on an existing comment, include the `threadId` property in the request body. Include the following in request body: - `body` — (Required) A **string** that contains the comment. - `threadId` — An **integer** that contains the comment's thread ID. - `tags` — An **object** that contains information about users tagged in the `body` comment. Include the following in this object: - `userName` — (Required) An **object** that contains information about the tagged user. The object's name is the user's Postman username. For example, `@user-postman`. Include the following in this object: - `type` — (Required) A **string** that contains the `user` value. - `id` — (Required) An **integer** that contains the user's ID. **Note:** This endpoint accepts a max of 10,000 characters.
- DEPRECATEDv11APICollections12Comments12345
- Create a collection from a schema
- **This endpoint is deprecated in Postman v10 and higher.** Creates a collection and links it to an API as one or multiple relations. Include the following properties in the request body: - `name` — A **string** that contains the name of the collection. You can also include the following additional properties in the request body: - `relations` — An **array** that contains a list of relations to create: - `contracttest` — **Deprecated.** - `integrationtest` — **Deprecated.** - `testsuite` — **Deprecated.** - `documentation` - `options` — An **object** that contains advanced creation options and their values. You can find a complete list of properties and their values in Postman's [OpenAPI 3.0 to Postman Collection v2.1.0 Converter OPTIONS documentation](https://github.com/postmanlabs/openapi-to-postman/blob/develop/OPTIONS.md). **These properties are case-sensitive.**
- DEPRECATEDv9API1Schema1
- Create a component
- Creates a new component. The component is created in an active state with an initial draft. Use the POST `/components/{componentId}/versions` endpoint to publish a version.
- Components
- Create a component version
- Publishes a new version of a component from the current draft. **Note:** You can't publish a new version of an archived component. Unarchive the component before publishing a new version.
- ComponentsComponent Versions
- Create a folder
- Creates a folder in a collection. For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). You can use this endpoint to to import requests and responses into a newly-created folder. To do this, include the `requests` field and the list of request objects in the request body. For more information, see the provided examples. **Note:** - This request uses example values in the request body for context when creating collection folders. For additional ways to create a folder, see the collection's examples. - It is recommended that you pass the `name` property in the request body. If you do not, the system uses a null value. As a result, this creates a folder with a blank name.
- CollectionsItemsFolders
- Create a folder comment
- Creates a comment on a folder. **Note:** This endpoint accepts a max of 10,000 characters.
- CollectionsItemsFoldersComments1
- Create a fork
- Creates a [fork](https://learning.postman.com/docs/collaborating-in-postman/version-control/#creating-a-fork) from an existing collection into a workspace.
- CollectionsForks
- Create a fork
- Creates a [fork](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/forking-elements/) from an existing environment into a workspace.
- EnvironmentsForks1
- Create a group
- Creates a new user group in Postman and creates a new account for each group member. Each account is added to your Postman team and authentication is activated for each user. If an existing Postman account uses an email that matches a group member's email ID, an [email invite](https://postman.postman.co/docs/administration/managing-your-team/managing-your-team/#invites) to join your Postman team is sent to that user. Once the user accepts the invite, they'll be added to your team. By default, the system assigns new users the developer role. You can [update user roles in Postman](https://learning.postman.com/docs/administration/managing-your-team/managing-your-team/#managing-team-roles).
- SCIMGroup Provisioning
- Create a mock server
- Creates a mock server in a collection. **Note:** - You cannot create mocks for collections added to an API definition. - If you do not include the `workspaceId` query parameter, the system creates the mock server in the oldest personal Internal workspace you own.
- Mocks
- Create a monitor
- Creates a monitor. **Note:** - You cannot create monitors for collections added to an API definition. - If you do not include the `workspace` query parameter, the system creates the monitor in the oldest personal Internal workspace you own.
- Monitors
- Create an access request
- Creates an access request for a team. Access requests include actions such as request to join a team, upgrading a user's role, adding members, and requesting team role access to another team. **Note:** If a team discovery is enabled, the team's access request is automatically approved.
- TeamsAccess Requests
- Create an API
- Creates an API.
- DEPRECATEDv9API1
- Create an API comment
- Creates a comment on an API. Include the following in request body: - `body` — (Required) A **string** that contains the comment. - `threadId` — An **integer** that contains the comment's thread ID. - `tags` — An **object** that contains information about users tagged in the `body` comment. Include the following in this object: - `userName` — (Required) An **object** that contains information about the tagged user. The object's name is the user's Postman username. For example, `@user-postman`. Include the following in this object: - `type` — (Required) A **string** that contains the `user` value. - `id` — (Required) An **integer** that contains the user's ID. **Note:** This endpoint accepts a max of 10,000 characters.
- DEPRECATEDv11APIComments123456
- Create an API release
- **This endpoint is deprecated in Postman v10 and higher.** Creates a new API version release. Include the following properties in the `release` object: - `name` — A **string** value that contains the release name. - `visibility` — A **string** value that contains the release's visibility. One of: - `private` — The release is private. - `public` — The release is public. You can include the following optional properties: - `summary` — A **string** value that contains the release's summary. - `description` — A **string** value that contains the release's description. - `gitTag` — A **string** value that contains a valid [Git tag](https://docs.github.com/en/rest/git/tags) ID. The tag must exist in the API's connected Git repository.
- DEPRECATEDv9API1Release
- Create an environment
- Creates an environment. **Note:** - The request body size cannot exceed the maximum allowed size of 30MB. - If you receive an HTTP `411 Length Required` error response, manually pass the `Content-Length` header and its value in the request header. - If you do not include the `workspace` query parameter, the system creates the environment in the oldest personal Internal workspace you own. - Only [<u>shared variable</u>](https://learning.postman.com/docs/sending-requests/variables/variables#share-variable-values) values can be modified through the Postman API. A shared variable is an environment variable with its value synced and stored in the Postman cloud, and can be accessed by your teammates in the environment's workspace.
- Environments
- Create a package
- Creates a package and its index script as a Postman Package Library resource.
- Packages
- Create a pull request
- Creates a pull request for a forked collection into its parent collection.
- CollectionsPull Requests
- Create a request
- Creates a request in a collection. For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). **Note:** - This request uses example values in the request body for context when creating detailed collection requests. For additional ways to create a request, see the collection's examples. - It is recommended to include at least the `name` property in the request to avoid creating a request with a blank name.
- CollectionsItemsRequests
- Create a request comment
- Creates a comment on a request. **Note:** This endpoint accepts a max of 10,000 characters.
- CollectionsItemsRequestsComments12
- Create a response
- Creates a request response in a collection. For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). **Note:** - This request uses example values in the request body for context when creating detailed collection responses. For additional ways to create a response, see the collection's examples. - It is recommended that you pass the `name` property in the request body. If you do not, the system uses a null value. As a result, this creates a response with a blank name.
- CollectionsItemsResponses
- Create a response comment
- Creates a comment on a response. **Note:** This endpoint accepts a max of 10,000 characters.
- CollectionsItemsResponsesComments123
- Create a schema
- Creates a schema for an API. Include the following in the the request body: - `type` — A **string** value that contains the API schema's type. One of: - `openapi:3_1` - `openapi:3` - `openapi:2` - `openapi:1` - `raml:0_8` - `raml:1` - `wsdl:1` - `wsdl:2` - `graphql` - `proto:2` - `proto:3` - `asyncapi:2` - `files` — An **array** of schema files that contains the following: - `path` — A **string** value that contains the schema file's path. - `content` — A **string** value that contains the schema file's stringified contents.
- DEPRECATEDv11APISchema
- Create a schema
- **This endpoint is deprecated in Postman v10 and higher.** Creates an API definition. The request body must contain a `schema` object with the following properties: - `type` — A **string** value that contains the API definition's type. One of: - `openapi3_1` - `openapi3` - `openapi2` - `openapi1` - `raml` - `raml1` - `wsdl1` - `wsdl2` - `graphql` - `proto2` - `graphql` - `proto3` - `language` — A **string** value that contains the API definition's language. One of: - OpenAPI and RAML — `json` or `yaml` - GraphQL — `graphql` - WSDL — `xml` - Protobuf — `proto` - `schema` — A **string** value that contains the API definition's contents.
- DEPRECATEDv9API1Schema1
- Create a server response
- Creates a server response. Server responses let you simulate 5xx server-level responses, such as 500 or 503. Server-level responses are agnostic to application-level logic. Server responses let you simulate this behavior on a mock server. You do not need to define each error for all exposed paths on the mock server. If you set a server response as active, then all the calls to the mock server return with that active server response. **Note:** You can create multiple server responses for a mock server, but only one mock server can be set as active.
- MocksServer Responses
- Create a spec
- Creates an API specification in Postman's [Spec Hub](https://learning.postman.com/docs/design-apis/specifications/overview/). Specifications can be single or multi-file. **Note:** - Postman supports OpenAPI (2.0, 3.0, and 3.1), AsyncAPI (2.0 and 3.0), protobuf (2 and 3), GraphQL, and Smithy specifications. - If the file path contains a `/` (forward slash) character, then a folder is created. For example, if the path is the `components/schemas.json` value, then a `components` folder is created with the `schemas.json` file inside. - Multi-file specifications can only have one root file and only support OpenAPI 2.0, 3.0, and 3.1 and protobuf 2 and protobuf 3 specifications. - Files cannot exceed a maximum of 12 MB in size.
- Specs
- Create a spec file
- Creates a file for OpenAPI specifications and protobuf 2 and 3 specifications. **Note:** - If the file path contains a `/` (forward slash) character, then a folder is created. For example, if the path is the `components/schemas.json` value, then a `components` folder is created with the `schemas.json` file inside. - Creating a spec file assigns it the `DEFAULT` file type. - Multi-file specifications can only have one root file. - Files cannot exceed a maximum of 10 MB in size.
- SpecsFiles
- Create a system environment
- Creates a system environment for the authenticated team.
- API CatalogSystem Environments
- Create a team
- [Creates](https://learning.postman.com/docs/administration/managing-your-team/create-teams/) a Postman team in your organization.
- Teams
- Create a user
- Creates a new user account in Postman and adds the user to your organization's Postman team. - If the account does not exist, this also activates the user so they can authenticate in to your Postman team. - If an account matching the email ID exists, the user receives [email invite](https://learning.postman.com/docs/administration/managing-your-team/manage-team-members/#manage-invites) to join the Postman team. The user joins the team when they accept the invite. - If the user's email domain matches your team's verified domains, the user is immediately added to the team. By default, the system assigns new users the developer role. You can [update user roles in Postman](https://learning.postman.com/docs/administration/managing-your-team/manage-team-members/#manage-team-roles). **Note:** - Users must join the team before you can assign them to any groups. - If the user is a member of a different team during SCIM provisioning and their email domain is **not** verified with your Postman team, then the user is **not** provisioned. The endpoint returns an HTTP `409 Conflict` response.
- SCIMUser Provisioning
- Create a version tag
- Creates a version tag for a specification. Version tags are snapshots of a specification at a point in time that let you to track changes to your specifications over time. **Note:** Conflicts can occur if you try to create a version tag for a changelog group that already has a version tag. To resolve this, make new changes to the specification to create a new changelog group, then create a version tag on that new changelog group.
- SpecsVersion Tags
- Create a webhook
- Creates a webhook that triggers a collection with a custom payload. You can get the webhook's URL from the `webhookUrl` property in the endpoint's response. **Note:** If you do not include the `workspace` query parameter, the system creates the webhook in the oldest personal Internal workspace you own.
- Webhooks
- Create a workspace
- Creates a new [workspace](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/creating-workspaces/). **Note:** - This endpoint returns a 403 `Forbidden` response if the user does not have permission to create workspaces. [Admins and Super Admins](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles) can configure workspace permissions to restrict users and/or user groups from creating workspaces or require approvals for the creation of team workspaces. - Private and [Partner Workspaces](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/) are available on Postman [<b>Team</b> and <b>Enterprise</b> plans](https://www.postman.com/pricing). - There are rate limits when publishing public workspaces. - Public team workspace names must be unique. - The `teamId` property must be passed in the request body if [Postman Organizations](https://learning.postman.com/docs/administration/onboarding-checklist) is enabled.
- Workspaces
- Create a workspace update
- Creates a [workspace update](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/internal-workspaces/workspace-updates) in the given workspace. Workspace updates keep workspace watchers informed about changes, such as new features, bug fixes, breaking changes, and announcements.
- WorkspacesWorkspace Updates
- Create or update a schema file
- Creates or updates an API schema file. Include the following in the request body: - `content` — A **string** value that contains the schema file's stringified contents. **Note:** - If the provided file path exists, the file is updated with the new contents. - If the provided file path does <u>not</u> exist, then a new schema file is created. - If the file path contains a `/` (forward slash) character, then a folder is created. For example, if the file path is the `dir/schema.json` value, then a `dir` folder is created with the `schema.json` file inside. - You can only update the `root` tag for protobuf specifications.
- DEPRECATEDv11APISchema
- Create relations
- Creates a new relation for an API version. Include the following in the request body: - `relationType` — An **array** that contains entity relations. The key value for this array must be the `unclassified` value. You must include the following properties in the `relationType` array: - `entityId` — The collection's UID value. **Note:** The following is **deprecated** in Postman API v10 and higher: | **`relationType`** | **`entityId`** | | --- | --- | | `documentation` and `test` | A collection UID value. | | `environment` | An environment UID value. | | `mock` | A mock ID value. | | `monitor` | A monitor ID value. | The endpoint accepts multiple `relationType` arrays in a single call. For an example, see the example response documentation. The `documentation` and `test` values returned in the response are the relation ID values, **not** the collection ID values.
- DEPRECATEDv9API1Relations
- Delete a collection
- Deletes a collection.
- Collections
- Delete a collection's comment
- Deletes a comment from a collection. On success, this returns an HTTP `204 No Content` response. **Note:** Deleting the first comment of a thread deletes all the comments in the thread.
- CollectionsComments
- Delete a collection's comment
- Deletes a comment from an API's collection. On success, this returns an HTTP `204 No Content` response. **Note:** Deleting the first comment of a thread deletes all the comments in the thread.
- DEPRECATEDv11APICollections12Comments12345
- Delete a folder
- Deletes a folder in a collection.
- CollectionsItemsFolders
- Delete a folder's comment
- Deletes a comment from a folder. On success, this returns an HTTP `204 No Content` response. **Note:** Deleting the first comment of a thread deletes all the comments in the thread.
- CollectionsItemsFoldersComments1
- Delete a group
- Deletes a group in Postman. On success, this returns an HTTP `204 No Content` response. User accounts that were in the deleted group are deactivated in Postman if the app is assigned to the user only with the deleted group. User accounts and the data corresponding to them are **not** deleted. To permanently delete user accounts and their data, [contact Postman support](https://www.postman.com/support/).
- SCIMGroup Provisioning
- Delete a mock server
- Deletes a mock server.
- Mocks
- Delete a monitor
- Deletes a monitor.
- Monitors
- Delete an API release
- **This endpoint is deprecated in Postman v10 and higher.** Deletes an API version's release.
- DEPRECATEDv9API1Release
- Delete an API's comment
- Deletes a comment from an API. On success, this returns an HTTP `204 No Content` response. **Note:** Deleting the first comment of a thread deletes all the comments in the thread.
- DEPRECATEDv11APIComments123456
- Delete an API version
- **This endpoint is deprecated in Postman v10 and higher.** Deletes an API version.
- DEPRECATEDv9API1API Version1
- Delete an environment
- Deletes an environment.
- Environments
- Delete an SDK
- Deletes an SDK record and its stored archive. On success, this returns a `204 No Content` response. **Note:** You can't use this endpoint to cancel a generation job that's still in progress.
- SDKs
- Delete a package
- Deletes the package and its associated index script content. On success, this returns an HTTP `204 No Content` response. **Note:** The endpoint returns an HTTP `204 No Content` response even if the package no longer exists.
- Packages
- Delete a request
- Deletes a request in a collection.
- CollectionsItemsRequests
- Delete a request's comment
- Deletes a comment from a request. On success, this returns an HTTP `204 No Content` response. **Note:** Deleting the first comment of a thread deletes all the comments in the thread.
- CollectionsItemsRequestsComments12
- Delete a response
- Deletes a response in a collection. On success, this returns an HTTP `204 No Content` response.
- CollectionsItemsResponses
- Delete a response's comment
- Deletes a comment from a response. On success, this returns an HTTP `204 No Content` response. **Note:** Deleting the first comment of a thread deletes all the comments in the thread.
- CollectionsItemsResponsesComments123
- Delete a schema file
- Deletes a file in an API schema. On success, this returns an HTTP `204 No Content` response.
- DEPRECATEDv11APISchema
- Delete a server response
- Deletes a mock server's server response.
- MocksServer Responses
- Delete a spec
- Deletes an API specification. On success, this returns an HTTP `204 No Content` response.
- Specs
- Delete a spec file
- Deletes a file in an API specification. On success, this returns an HTTP `204 No Content` response.
- SpecsFiles
- Delete a version
- Deletes an API version. On success, this returns an HTTP `204 No Content` response. **Note:** This endpoint returns an HTTP `404 Not Found` response when an API version is pending publication.
- DEPRECATEDv11APIAPI Version
- Delete a workspace
- Deletes an existing workspace.
- Workspaces
- Delete a workspace update
- Deletes a workspace update. On success, this returns an HTTP `204 No Content` response.
- WorkspacesWorkspace Updates
- Duplicate a collection
- Creates a duplicate of the given collection in another workspace. Use the GET `/collection-duplicate-tasks/{taskId}` endpoint to get the duplication task's current status.
- Collections
- Generate a collection from spec
- Creates a collection from the given OpenAPI 2.0, 3.0, 3.1 specification or Smithy specification. The response contains a polling link to the task status.
- SpecsCollections1
- Generate an SDK
- Creates an asynchronous generation job for a single SDK (in one language) from a collection or specification. To get the status of an SDK's generation, use the GET `/sdks/{sdkId}` endpoint and track its `buildStatus`. When the status is the `succeeded` value, the SDK is ready to download. You can also use the URL in the POST response's `Location` header. **Note:** The request body is determined by the given `language` value, so only provide the properties relevant to that language's SDK.
- SDKs
- Generate a tool
- Generates code for an AI agent tool using a collection and request from the Public API Network. For more information, see [<b>Tool Generation Demo</b>](http://postman.com/explore/toolgen) in Postman's Public API Network. Include the following in your request: - `collectionId` — A **string** value that contains the Public API Network collection's ID. - `requestId` — A **string** value that contains the public request ID. - `config` — An **object** that contains the following properties: - `language` — A **string** value that contains the programming language to use to generate the request. Accepts `javascript`, `typescript`, or `python`. - `agentFramework` — A **string** value that contains the AI agent framework to use. Accepts `openai`, `mistral`, `gemini`, `anthropic`, `langchain`, or `autogen` (Python only). ### Important - This endpoint has a rate limit of **300 calls every 3 hours**. This does not accrue Postbot usage. - This endpoint only supports public Postman Collections and requests.
- DEPRECATEDv11PostbotGenerations
- Generate spec from collection
- Generates an OpenAPI 2.0, 3.0, or 3.1 specification for the given collection. The response contains a polling link to the task status.
- SpecsGenerated Specs
- Get accounts
- Gets Postman billing account details for the given team.
- Billing
- Get a collection
- Gets information about a collection. For a complete list of this endpoint's possible values, use the [collection.json schema file](https://schema.postman.com/json/collection/v2.1.0/collection.json).
- Collections
- Get a collection's comments
- Gets all comments left by users in a collection.
- CollectionsComments
- Get a collection's comments
- Gets all comments left by users in an API's collection.
- DEPRECATEDv11APICollections12Comments12345
- Get a collection's forks
- Gets a collection's forked collections. The response returns data for each fork, such as the fork's ID, the user who forked it, and the fork's creation date.
- CollectionsForks
- Get a collection's pull requests
- Gets information about a collection's pull requests, such as the source and destination IDs, status of the pull requests, and a URL link to the pull requests.
- CollectionsPull Requests
- Get a collection's roles
- Gets information about all [roles](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#collection-roles) in a collection. The response returns the IDs of all users, teams, and groups with access to view or edit the collection.
- CollectionsRoles
- Get a collection's tags
- Gets all the tags associated with a collection.
- CollectionsTags
- Get a collection
- Gets a collection attached to an API. You can use the `versionId` query parameter to get a collection published in a version. **Note:** - You cannot use this endpoint to get a Git-linked API collection. Collections in a Git-linked API are stored in the linked Git repository, not in the Postman cloud. This endpoint only has access to Postman servers. - You can get a collection published in an API version with the `versionId` query parameter. - The `versionId` query parameter is a **required** parameter for API viewers.
- DEPRECATEDv11APICollections12
- Get a component
- Gets information about a component. Use the `include` and `expand` query parameters to return additional information, such as `hasVersions` and the latest published version.
- Components
- Get a component draft
- Gets information about the current working draft of a component, including its content and format. Drafts represent the latest unpublished edits of a component, which may be different from the most recently published version.
- ComponentsComponent Drafts
- Get a component version
- Gets a published version of a component.
- ComponentsComponent Versions
- Get a discovered service's information
- Gets detailed information about a discovered service, including a base64-encoded OpenAPI specification and an array of endpoints.
- API CatalogDiscovery Services
- Get a folder
- Gets information about a folder in a collection.
- CollectionsItemsFolders
- Get a folder's comments
- Gets all comments left by users in a folder.
- CollectionsItemsFoldersComments1
- Get a group
- Gets information about a Postman group within the team.
- SCIMGroup Provisioning
- Get a group
- Gets information about a Postman [user group](https://learning.postman.com/docs/collaborating-in-postman/user-groups/).
- Groups
- Get all add requests
- Gets all requests to add workspaces to your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).
- DEPRECATEDv11Private API Network1Element Requests
- Get all API releases
- **This endpoint is deprecated in Postman v10 and higher.** Gets information about all of an API version's releases.
- DEPRECATEDv9API1Release
- Get all APIs
- Gets information about all APIs in a workspace. **Note:** This endpoint only returns APIs created or migrated in Postman v10 and higher.
- DEPRECATEDv9API1
- Get all audit log event actions
- Gets a complete list of all available audit log event actions.
- Audit Logs
- Get all collections
- Gets all of your [collections](https://www.getpostman.com/docs/collections). The response includes all of your subscribed collections. **Note:** - It's recommended that you use pagination with this endpoint. Pagination improves endpoint performance. Unpaginated calls are considered deprecated and are subject to change. - Filtering with the `name` parameter when you also pass the `limit` and `offset` parameters is not supported. - If you do not include the `workspace` query parameter, this endpoint searches all collections in your team’s workspace. If there are a lot of results, this will return a timeout error.
- Collections
- Get all component versions
- Gets a list of a component's published versions.
- ComponentsComponent Versions
- Get all components
- Gets a list of all components in the team's component library.
- Components
- Get all environments
- Gets information about all of your [environments](https://learning.postman.com/docs/sending-requests/managing-environments/).
- Environments
- Get all forked collections
- Gets a list of all the authenticated user's forked collections.
- CollectionsForks
- Get all groups
- Gets all Postman groups within the team.
- SCIMGroup Provisioning
- Get all groups
- Gets all of a team's Postman [groups](https://learning.postman.com/docs/collaborating-in-postman/user-groups/).
- Groups
- Get all linked relations
- Gets all of an API version's relations. **Note:** In Postman v10 and higher, this endpoint returns the following: - The `unclassified` relation is for documentation and testing. This is the default relation type. - The `apiDefinition` relation is the relation used for API definitions.
- DEPRECATEDv9API1Relations
- Get all mock servers
- Gets all active mock servers. By default, this endpoint returns only mock servers you created across all workspaces. **Note:** If you pass both the `teamId` and `workspace` query parameters, this endpoint only accepts the `workspace` query.
- Mocks
- Get all monitors
- Gets all monitors.
- Monitors
- Get all packages
- Gets all active packages available to the authenticated user. **Note:** Script content isn't included in response.
- Packages
- Get all roles
- Gets information about all roles in a workspace, based on the team's [plan](https://www.postman.com/pricing/).
- WorkspacesRoles1
- Get all runner instances
- Gets all instances of the runner polling Postman for upcoming monitor runs. Instances are runner executions that share the same runner ID and key. **Note:** You can get a runner's ID in the Postman UI if you have an Admin or Super Admin role. To do this, click **Team > Team Settings** in Postman, then click **Runners**. Click the runner you want to get the ID of, then copy its ID from the URL.
- MonitorsRunnersInstances
- Get all SDK Git connections
- Gets all Git repository connections the authenticated user has access to in the given workspace. Each connection links one Postman Collection or specification and one SDK language to a target Git repository.
- SDKsSDK Git Connections
- Get all SDKs
- Lists all SDKs the authenticated user has access to. **Note:** - Use the `sdkIds` parameter to get the generation build status of multiple SDKs in a single call. - When you pass the `sdkIds` value, other filters are ignored and the response contains only the accessible SDKs from this list.
- SDKs
- Get all server responses
- Gets all of a mock server's server responses.
- MocksServer Responses
- Get all services
- Gets a list of services in a system environment. The response includes details about analytics, compliance, and governance metadata.
- API CatalogServices
- Get all specs
- Gets all API specifications in a workspace.
- Specs
- Get all system environments
- Gets all of the authenticated team's system environments.
- API CatalogSystem Environments
- Get all team users
- Gets information about all users on the [Postman team](https://learning.postman.com/docs/collaborating-in-postman/working-with-your-team/collaboration-overview/).
- Users
- Get all teams
- Gets all Postman teams in your organization.
- Teams
- Get all test relations
- **This endpoint is deprecated in Postman v10 and higher.** Gets all of an API version's test relations.
- DEPRECATEDv9API1Relations
- Get all users
- Gets information about all Postman team members.
- SCIMUser Provisioning
- Get all versions
- Gets all the published versions of an API.
- DEPRECATEDv9API1API Version1
- Get all workspace updates
- Gets a list of workspace updates for the given workspace.
- WorkspacesWorkspace Updates
- Get all workspaces
- Gets information workspaces added to your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).
- DEPRECATEDv11Private API Network1
- Get all workspaces
- Gets all [workspaces](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/creating-workspaces/). The response includes your workspaces and any workspaces that you have access to. **Note:** This endpoint's response contains the `visibility` field. [Visibility](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility) determines who can access the workspace: - `personal` — Only you can access the workspace. - `team` — All team members can access the workspace. - `private` — Only invited team members can access the workspace ([<b>Team</b> and <b>Enterprise</b> plans only](https://www.postman.com/pricing)). - `public` — Everyone can access the workspace. - `partner` — Only invited team members and [partners](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/) can access the workspace ([<b>Team</b> and <b>Enterprise</b> plans only](https://www.postman.com/pricing)).
- Workspaces
- Get a mock server
- Gets information about a mock server.
- Mocks
- Get a mock server's call logs
- Gets a mock server's call logs. You can get a maximum of 6.5MB of call logs or a total of 100 call logs, whichever limit is met first in one API call. Call logs contain exchanged request and response data made to mock servers. The logs provide visibility into how the mock servers are being used. You can log data to debug, test, analyze, and more, depending upon the use case. **Note:** Call logs have a retention period based on your [Postman plan](https://www.postman.com/pricing/#mock-calls). For more information, see [this article](https://support.postman.com/hc/en-us/articles/21219973964951-I-can-t-see-my-mock-server-logs-history) in the [Postman Support Center](https://support.postman.com/).
- MocksCall Logs
- Get a monitor
- Gets information about a monitor.
- Monitors
- Get an API
- Gets information about an API. **Note:** - Git-connected APIs will **only** return the `versions` and `gitInfo` query responses. This is because schema and collection information is stored in the connected Git repository. The `gitInfo` object only lists the repository and folder locations of the files. - API viewers can only use the `versions` option in the `include` query parameter.
- DEPRECATEDv9API1
- Get an API release
- **This endpoint is deprecated in Postman v10 and higher.** Gets information about an API version's release.
- DEPRECATEDv9API1Release
- Get an API's comments
- Gets all comments left by users in an API.
- DEPRECATEDv11APIComments123456
- Get an API's tags
- Gets all the tags associated with an API.
- DEPRECATEDv11APITags123
- Get an API version
- Gets information about an API version. **In Postman v9 and earlier:** When you create an API, the system creates a single, default API version. You can use this version’s ID with any endpoints that require an API version ID.
- DEPRECATEDv9API1API Version1
- Get an environment
- Gets information about an environment.
- Environments
- Get an environment's forks
- Gets all of an environment's forked environments.
- EnvironmentsForks1
- Get an SDK
- Returns information about the SDK, including the current build job status.
- SDKs
- Get an SDK Git connection
- Gets information about an SDK's Git connection. The response includes the SDK currently sent to the targetBranch and the most recent SDK-update pull request.
- SDKsSDK Git Connections
- Get an SDK Git connection's pull requests
- Lists all SDK update pull requests for the Git connection, in order of newest first by its `updatedAt` property. **Note:** Direct push requests to the base branch are not returned in the response if a Git connection is configured to push only some changes directly to a base branch.
- SDKsSDK Git Connections
- Get an SDK's download URL
- Gets a short-lived signed URL for the generated SDK archive (zip). The generated URL is created on demand and expires within a few minutes. **Note:** The API doesn't stream the archive directly to keep responses small and predictable. Use the returned URL to download the SDK zip file.
- SDKs
- Get analytics metadata
- Returns a catalog of analytics resources and their corresponding metrics for use with the GET `/analytics` endpoint. These metrics provide insights on API usage, success, workspace, and team trends in Postman.
- Analytics
- Get a package
- Gets an active package's metadata and its current index script content.
- Packages
- Get a pull request
- Gets information about a pull request, such as the source and destination details, who reviewed the pull request, the merge's current status, and whether the element is accessible.
- Pull Requests1
- Get a request
- Gets information about a request in a collection.
- CollectionsItemsRequests
- Get a request's comments
- Gets all comments left by users in a request.
- CollectionsItemsRequestsComments12
- Get a response
- Gets information about a response in a collection.
- CollectionsItemsResponses
- Get a response's comments
- Gets all comments left by users in a response.
- CollectionsItemsResponsesComments123
- Get a schema
- Gets information about API schema. You can use the `versionId` query parameter to get a schema published in an API version. You can use this API to do the following: - Get a schema's metadata. - Get all the files in a schema. This only returns the first file in the schema. The endpoint response contains a link to the next set of response results. - Get a schema's contents in multi-file or bundled format. **Note:** The `versionId` query parameter is a **required** parameter for API viewers.
- DEPRECATEDv11APISchema
- Get a schema
- **This endpoint is deprecated in Postman v10 and higher.** Gets information about an API's definition.
- DEPRECATEDv9API1Schema1
- Get a server response
- Gets information about a server response.
- MocksServer Responses
- Get a service by ID
- Gets information about a service, including its health, traffic, compliance, ownership, and dependencies.
- API CatalogServices
- Get a service's CI runs
- Gets a list of CI collection runs for a service that includes summary statistics, pipeline details, and Git metadata.
- API CatalogServices
- Get a service's endpoints
- Get a list of observed API endpoints for a service and its performance metrics.
- API CatalogServices
- Get a service's monitor runs
- Gets a list of scheduled monitor runs for a service that includes summary statistics.
- API CatalogServices
- Get a service's specification lints
- Gets a list of API specification lint runs for a service that includes summary statistics and per-severity issue counts.
- API CatalogServices
- Get a spec
- Gets information about an API specification.
- Specs
- Get a spec file
- Gets the contents of an API specification's file.
- SpecsFiles
- Get a spec's definition
- Gets the complete contents of an OpenAPI or AsyncAPI specification's definition.
- Specs
- Get a spec's files
- Gets all the files in an API specification.
- SpecsFiles
- Get a spec's generated collections
- Gets all of an API specification's generated collections.
- SpecsCollections1
- Get a specification's version tags
- Gets a list of a specification's version tags.
- SpecsVersion Tags
- Get async collection update status
- Gets the status of an asynchronous collection update task.
- Collections
- Get a system environment
- Gets information about a system environment.
- API CatalogSystem Environments
- Get a system environment's associations
- Gets the workspace-environment associations for a system environment.
- API CatalogSystem Environments
- Get a team
- Gets information about a Postman team.
- Teams
- Get a team's access requests
- Gets a team's pending access requests.
- TeamsAccess Requests
- Get a team's settings
- Gets a team's settings.
- TeamsTeam Settings
- Get a team user
- Gets information about a user on the Postman team.
- Users
- Get a user
- Gets information about a Postman team member.
- SCIMUser Provisioning
- Get authenticated user
- Gets information about the authenticated user. **Note:** - This API returns a different response for users with the [Guest and Partner roles](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles). - The `flow_count` response only returns for users on [Free plans](https://www.postman.com/pricing/).
- Users
- Get a version
- Gets information about an API version. **Note:** - For API editors, this endpoint returns an HTTP `302 Found` status code when the version status is pending. It also returns the `/apis/{apiId}/tasks/{taskId}` task status response header. - For API viewers, this endpoint returns an HTTP `404 Not Found` when the version status is pending.
- DEPRECATEDv11APIAPI Version
- Get a version tag
- Gets information about a specification's version tag. The response returns a snapshot of a specification at a point in time that lets you track changes to your specifications over time.
- SpecsVersion Tags
- Get a workspace
- Gets information about a workspace. **Note:** This endpoint's response also contains the `visibility` field. [Visibility](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility) determines who can access the workspace: - `personal` — Only you can access the workspace. - `team` — All team members can access the workspace. - `private` — Only invited team members can access the workspace ([<b>Team</b> and <b>Enterprise</b> plans only](https://www.postman.com/pricing)). - `public` — Everyone can access the workspace. - `partner` — Only invited team members and [partners](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/) can access the workspace ([<b>Team</b> and <b>Enterprise</b> plans only](https://www.postman.com/pricing)).
- Workspaces
- Get a workspace's activity feed
- Gets a workspace's [activity feed](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/changelog-and-restoring-collections/#view-workspace-activity). Activity feeds return information about who added or removed collections, environments, or elements from a workspace, and users that join or leave a workspace.
- WorkspacesActivity Feed
- Get a workspace's roles
- Gets the roles of users, user groups, and partners in a workspace. **Note:** Partner roles don't support SCIM IDs.
- WorkspacesRoles1
- Get a workspace's tags
- Gets all the tags associated with a workspace.
- WorkspacesTags12
- Get a workspace update
- Gets information about a workspace update.
- WorkspacesWorkspace Updates
- Get contract test relations
- **This endpoint is deprecated.**
- DEPRECATEDv9API1Relations
- Get detected secrets locations
- Gets the locations of secrets detected by Postman's [Secret Scanner](https://learning.postman.com/docs/administration/secret-scanner/).
- Secret ScannerDetected Secrets
- Get discovered services
- Gets a list of all [discovered services](https://learning.postman.com/docs/api-catalog/overview#discover-apis-and-services) in the API Catalog.
- API CatalogDiscovery Services
- Get documentation relations
- **This endpoint is deprecated in Postman v10 and higher.** Gets an API version's documentation relations.
- DEPRECATEDv9API1Relations
- Get duplication task status
- Gets the status of a collection duplication task.
- Collections
- Get elements by tag
- Gets Postman elements (entities) by a given tag. Tags enable you to organize and search [workspaces ](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#tagging-a-workspace) and [collections](https://learning.postman.com/docs/collections/using-collections/#tagging-a-collection) that contain shared tags. **Note:** Tagging is available on Postman [<b>Solo</b>, <b>Team</b>, and <b>Enterprise</b> plans plans](https://www.postman.com/pricing/).
- Tags1
- Get environment relations
- **This endpoint is deprecated in Postman v10 and higher.** Gets an API version's environment relations.
- DEPRECATEDv9API1Relations
- Get generated spec
- Gets the API specification generated for the given collection.
- SpecsGenerated Specs
- Get global variables
- Gets a workspace's global [variables](https://learning.postman.com/docs/sending-requests/variables/#variable-scopes). Global variables enable you to access data between collections, requests, scripts, and environments and are available throughout a workspace.
- WorkspacesGlobal Variables
- Get integration test relations
- **This endpoint is deprecated.**
- DEPRECATEDv9API1Relations
- Get merge or pull task status
- Gets the status of a collection's merge or a pull changes task. **Note:** After a merge's success or failure, the task's status is only available for a period of 24 hours. Afterwards, this endpoint returns an HTTP `404 Not Found` response.
- CollectionsForks
- Get monitor relations
- **This endpoint is deprecated in Postman v10 and higher.** Gets an API version's monitor relations.
- DEPRECATEDv9API1Relations
- Get resource types
- Gets all the resource types supported by Postman's SCIM API.
- SCIM
- Get runner metrics
- Gets the Postman server-side metrics for a runner instance. Metrics include information such as monitor run queues and last polling date. **Note:** You can get a runner's ID in the Postman UI if you have a Team Admin or Super Admin role. To do this, click **Team > Team Settings** in Postman, then click **Runners**. Click the runner you want to get the ID of, then copy its ID from the URL.
- MonitorsRunnersMetrics
- Get schema file contents
- Gets an API schema file contents at the defined path. You can use the `versionId` query parameter to get schema file contents published in an API version. **Note:** The `versionId` query parameter is a **required** parameter for API viewers.
- DEPRECATEDv11APISchema
- Get schema files
- Gets the files in an API schema. You can use the `versionId` query parameter to get schema files published in an API version. **Note:** The `versionId` query parameter is a **required** parameter for API viewers.
- DEPRECATEDv11APISchema
- Get secret types
- Gets the metadata of the secret types supported by Postman's [Secret Scanner](https://learning.postman.com/docs/administration/secret-scanner/). You can use a secret type's ID in the response to query data with the POST `/detected-secrets/{secretId}` endpoint.
- Secret Scanner
- Get service provider configuration
- Gets the Postman SCIM API configuration information. This includes a list of supported operations.
- SCIM
- Get source collection's status
- Checks whether there is a change between the forked collection and its parent (source) collection. If the value of the `isSourceAhead` property is `true` in the response, then there is a difference between the forked collection and its source collection. **Note:** This endpoint may take a few minutes to return an updated `isSourceAhead` status.
- CollectionsForks
- Get status of an async spec task
- Gets the status of an asynchronous API specification creation task.
- Specs
- Get status of an asynchronous task
- Gets the status of an asynchronous task.
- DEPRECATEDv11API
- Get status of API Builder to Spec Hub migration
- Returns the status of an API Builder definition’s migration to Spec Hub.
- Specs
- Get team audit logs
- Gets a list of your team's generated audit events. For a complete list of all audit events, see [Audit logs](https://learning.postman.com/docs/administration/audit-logs/).
- Audit Logs
- Get test suite relations
- **This endpoint is deprecated.**
- DEPRECATEDv9API1Relations
- Get unclassified relations
- **This endpoint is for Postman v10 and higher.** Gets all of an API version's unclassified relations. Unclassified relations are used for documentation and testing. This is the default relation type.
- DEPRECATEDv9API1Relations
- List account invoices
- Gets all invoices for a Postman billing account filtered by the status of the invoice.
- Billing
- Manage Partner Workspace invites
- Manages invitations and access to your team's [Partner Workspaces](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/partner-workspaces/manage/). You can use this endpoint to: - Send Partner Workspace invitations to the given email addresses. Users who already exist in the partnership are added directly, while new users receive an invitation email. - Remove partners from a workspace. - Remove partners from a partnership and all of its workspaces. **Note:** - Partner Workspaces are available on the Postman **Team** and **Enterprise** [plans](https://www.postman.com/pricing/). - This endpoint requires the following [roles](https://learning.postman.com/docs/administration/roles-and-permissions/), based on your plan: - **Team** — Requires the **Workspace Editor** role to invite or remove partners from workspaces. The **Admin** role is required for removing partners from all workspaces. - **Enterprise** — The **Partner Manager** role can perform all operations. The **Workspace Editor** role and **Admin** roles have the same permissions on this plan as they do on the Team plan. It's recommended to use the **Partner Manager** role if you're on an Enterprise plan.
- Workspaces
- Manage team member roles
- Adds or removes roles in groups, teams, organizations, as well as individual users' roles. **Note:** If you remove a role from a group or team, then all members lose the that role's permissions.
- TeamsTeam Roles
- Merge a collection fork
- **This endpoint is deprecated.** Merges a forked collection back into its parent collection. You must have the [Editor role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#collection-roles) for the collection to merge a fork. Include the following required properties in the request body: - `source` — A **string** value that contains the source collection's unique ID. - `destination` — A **string** value that contains the destination (parent) collection's unique ID. You can also include the following optional properties in the request body: - `strategy` — A **string** value that contains the fork's merge strategy. One of: - `deleteSource` — Merge the changes into the parent collection. After the merge process is complete, Postman deletes the fork. You must have Editor access to both the parent and forked collections. - `updateSourceWithDestination` — (Default) Merge the changes into the parent collection. Any differences in the parent collection are also made to the fork.
- DEPRECATEDv11Collections123
- Merge a fork
- [Merges](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/forking-elements/#merge-changes-from-a-fork) a forked environment back into its parent environment.
- EnvironmentsForks1
- Merge or pull changes into a collection fork
- [Merges](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/forking-elements/#merge-changes-from-a-fork) a forked (source) collection and its parent (destination) collection asynchronously. To pull changes into a fork, pass the forked collection's ID as the `destination` value and the parent collection ID as the `source` value. The response returns a task `id` value, which you can use to track the merge's status with the GET `/collection-merges-tasks/{taskId}` endpoint.
- CollectionsForks
- Migrate API Builder API to Spec Hub
- Migrates an API Builder definition to a [Spec Hub](https://learning.postman.com/docs/design-apis/specifications/overview) specification. You can migrate the definition to an existing workspace, or create a new workspace to migrate the definition into. On success, this returns an HTTP `202 Created` response. You can use the GET `/apis/{apiId}/spec-migrations` endpoint to check the migration status. **Note:** - This returns an HTTP `200 OK` response if the given API ID isn't an API Builder definition. - To migrate a Git-linked API Builder definition to Spec Hub, you must create a new workspace. Migration to an existing workspace isn't supported.
- Specs
- Publish a mock server
- Publishes a mock server. Publishing a mock server sets its **Access Control** configuration setting to public.
- Mocks
- Publish documentation
- Publishes a collection's documentation. This makes it publicly available to anyone with the link to the documentation. **Note:** - Your [Postman plan](https://www.postman.com/pricing/) impacts your use of these endpoints: - For **Free** and **Solo** users, you must have permissions to edit the collection. - If [API Governance and Security](https://learning.postman.com/docs/api-governance/configurable-rules/configurable-rules-overview/) is enabled for your [<b>Enterprise</b>](https://www.postman.com/pricing/) team, only users with the [Community Manager role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles) can publish documentation. - Publishing is only supported for collections with HTTP requests. - You cannot publish a collection added to an API.
- CollectionsDocumentation
- Pull source changes
- Pulls the changes from a parent (source) collection into the forked collection. In the endpoint's response: - The `destinationId` is the ID of the forked collection. - The `sourceId` is the ID of the source collection.
- CollectionsForks
- Pull source changes
- [Pulls](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/forking-elements/#pull-updates-from-a-parent-element) the changes from a parent (source) environment into the forked environment.
- EnvironmentsForks1
- Remove an element or folder
- Removes an element or delete a folder from your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/). **Note:** Removing an API, collection, or workspace element does not delete it. It only removes it from the Private API Network folder.
- DEPRECATEDv11Private API Network1
- Remove a workspace
- Removes a workspace from your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/). **Note:** Removing a workspace does not delete it. It only removes it from the Private API Network folder.
- Private API Network
- Remove system environment associations
- Removes workspace-environment associations from a system environment.
- API CatalogSystem Environments
- Remove team members
- Removes entities, such as users or organizations, from your Postman team. On success, this returns an HTTP `204 No Content` response.
- Teams
- Replace a collection's data
- Replaces the contents of a collection. Include the collection's ID values in the request body. If you do not, the endpoint removes the existing items and creates new items. - For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). - For protocol profile behavior, refer to Postman's [Protocol Profile Behavior](https://github.com/postmanlabs/postman-runtime/blob/develop/docs/protocol-profile-behavior.md) documentation. **Note:** - The maximum collection size this endpoint accepts cannot exceed 100 MB. - This request uses example values in the request body for context when replacing a collection's data. For additional ways to replace collection data, see the collection's examples. - If you don't include the collection items' ID values from the request body, the endpoint **removes** the existing items and recreates the items with new ID values. - To copy another collection's contents to the given collection, remove all ID values before you pass it in this endpoint. If you do not, this endpoint returns an error. These values include the `id`, `uid`, and `postman_id` values.
- Collections
- Replace an environment's data
- Replaces all the contents of an environment with the given information. **Note:** - The request body size cannot exceed the maximum allowed size of 30MB. - If you receive an HTTP `411 Length Required` error response, manually pass the `Content-Length` header and its value in the request header. - Only [<u>shared variable</u>](https://learning.postman.com/docs/use/send-requests/variables/variables/#share-variable-values) values can be modified through the Postman API. A shared variable is an environment variable with its value synced and stored in the Postman cloud, and can be accessed by your teammates in the environment's workspace.
- Environments
- Resolve a comment thread
- Resolves a comment and any associated replies. On success, this returns an HTTP `204 No Content` response. Comment thread IDs return in the GET `/comments` response for [collections](https://www.postman.com/postman/workspace/postman-public-workspace/request/12959542-a6582e0a-9382-4760-8b91-53a8aa6cb8d7) and [collection items](https://www.postman.com/postman/workspace/postman-public-workspace/folder/12959542-efeda219-66e1-474c-a83b-253d15723bf7).
- Comments1234
- Respond to an add request
- Responds to a user's request to add a workspace to your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/). Only managers can approve or deny a request. Once approved, the workspace will appear in the team's Private API Network.
- DEPRECATEDv11Private API Network1Element Requests
- Review a pull request
- Updates the [review](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/reviewing-pull-requests/) status of a pull request.
- Pull Requests1
- Search detected secrets
- Returns all secrets detected by Postman's [Secret Scanner](https://learning.postman.com/docs/administration/secret-scanner/), grouped by workspace or resource. If you pass an empty request body, this endpoint returns all results. You can include the following properties in the request body: - `secretTypes` — An **array** that contains a list of secrets types to query. For a list of valid IDs, use the GET `/secret-types` endpoint. - `resolved` — A **boolean** value that, if true, return secrets with a `resolved` status. - `statuses` — An **array** that contains a list of the secret resolution status type: - `FALSE_POSITIVE` — The discovered secret is not an actual secret. - `REVOKED` — The secret is valid, but the user rotated their key to resolve the issue. - `ACCEPTED_RISK` — The Secret Scanner found the secret, but user accepts the risk of publishing it. - `resources` — An **array of objects** that contains a list of resources to query: - `type` — The type of resource: - `collection` - `environment` - `extensible-collection` - `globals` - `example` - `request` - `folder` - `extensible-collection-meta` - `extensible-request` - `extensible-folder` - `extensible-example` - `extensible-message` - `api-definition-file` - `api-definition` - `ids` — An **array of string** containing the element IDs to search. - `workspaceIds` — An **array** that contains a list of workspaces IDs to query. - `workspaceVisibilities` — An **array** that contains a list of workspace [visibility settings](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/managing-workspaces/#changing-workspace-visibility) to query. This currently supports the `team` and `public` settings. **Note:** The `workspaceIds` and `resources` properties are mutually exclusive. You can only use one in a request. If you pass both, the API returns an HTTP 400 `Bad Request` response.
- Secret ScannerDetected Secrets
- Search Postman
- Searches Postman for resources such as workspaces, collections, requests, and other resource types. You can filter results by ownership, visibility, tags, and other criteria. **Note:** If you call this endpoint without an API key, the response only returns publicly-available resources.
- Search
- Sync API relations with definition
- Syncs an API version's relation with the API's definition.
- DEPRECATEDv9API1Relations
- Sync collection with schema
- Syncs a collection attached to an API with the API schema. This is an asynchronous endpoint that returns an HTTP `202 Accepted` response. The response contains a polling link to the `/apis/{apiId}/tasks/{taskId}` endpoint in the Location header. **Note:** This endpoint only supports the OpenAPI 3 schema type.
- DEPRECATEDv11APICollections12
- Sync collection with spec
- Syncs a collection generated from an API specification. This is an asynchronous endpoint that returns an HTTP `202 Accepted` response. **Note:** - This endpoint only supports the OpenAPI 2.0, 3.0, and 3.1 specification types. - You can only sync collections generated from the given specification ID.
- SpecsCollections1
- Sync spec with collection
- Syncs an API specification linked to a collection. This is an asynchronous endpoint that returns an HTTP `202 Accepted` response. **Note:** - This endpoint only supports the OpenAPI 2.0, 3.0, and 3.1 specification types. - You can only sync specs generated from the given collection ID.
- SpecsGenerated Specs
- Transfer element to a workspace
- Transfers a [Postman element](https://learning.postman.com/docs/getting-started/basics/postman-elements/) from one workspace to another workspace. Supported elements include collections, environments, mocks, monitors, and Flows modules and actions. When copying an element between workspaces, the [activity feed](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/workspace-activity/) for both workspaces update to reflect the change. **Note:** This endpoint does not support transferring elements from team workspaces to personal workspaces.
- WorkspacesTransfers1
- Transfer folders
- Copies or moves folders into a collection or folder.
- CollectionsTransfers
- Transfer requests
- Copies or moves requests into a collection or folder.
- CollectionsTransfers
- Transfer responses
- Copies or moves responses into a request.
- CollectionsTransfers
- Transfer workspace to a team
- Transfers a workspace from one team (`source`) to another team (`destination`). **Note:** - This endpoint is only available with [Postman Enterprise plans](https://www.postman.com/pricing/) with [Postman Organizations](https://learning.postman.com/docs/administration/onboarding-checklist) enabled. - Team user roles are modified when workspaces are transferred. For example, if a user has the Admin role in the `source` team but not the `destination` team, then their role is removed from the workspace after it's transferred to the `destination` team.
- Workspaces
- Transform collection to OpenAPI
- Transforms an existing Postman Collection into a stringified OpenAPI definition. **Note:** This does **not** create an API.
- CollectionsTransformations
- Unpublish a mock server
- Unpublishes a mock server. Unpublishing a mock server sets its **Access Control** configuration setting to private.
- Mocks
- Update a collection's comment
- Updates a comment on a collection. **Note:** This endpoint accepts a max of 10,000 characters.
- CollectionsComments
- Update a collection's comment
- Updates a comment on an API's collection. Include the following in request body: - `body` — (Required) A **string** that contains the updated comment. - `tags` — An **object** that contains information about users tagged in the `body` comment. Include the following in this object: - `userName` — (Required) An **object** that contains information about the tagged user. The object's name is the user's Postman username. For example, `@user-postman`. Include the following in this object: - `type` — (Required) A **string** that contains the user value. - `id` — (Required) An **integer** that contains the user's ID. **Note:** This endpoint accepts a max of 10,000 characters.
- DEPRECATEDv11APICollections12Comments12345
- Update a collection's roles
- Updates the roles of users, groups, or teams in a collection. On success, this returns an HTTP `204 No Content` response. **Note:** - Only users assigned the `EDITOR` [role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#collection-roles) in the collection can use this endpoint. - This endpoint does not support the external [Partner or Guest roles](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles).
- CollectionsRoles
- Update a collection's tags
- Updates a collection's associated tags. This endpoint replaces all existing tags with those you pass in the request body. **Note:** - You can only add a maximum of five tags to a collection. - Tags must be between 2 and 64 characters long. - Tags must follow the `^[a-z][a-z0-9-]\\\\\\*[a-z0-9]+$` pattern.
- CollectionsTags
- Update a component
- Updates a component: - `name` — Rename the component. The new name must be unique within the team. Archived components can't be renamed. - `status` — Changes the component's lifecycle state: - `archive` — Marks the component as read-only. Archived components aren't deleted and can't be edited or published, but their existing versions remain accessible. - `active` — Restores the component. Only active components can be edited and published. **Note:** You can't update a name and archived state in a single call. To change both properties, make separate calls to update the name and status.
- Components
- Update a component draft
- Updates a component's draft. Component drafts contain unpublished edits to a component, which may be different from a recently published version. **Note:** You can't update archived components.
- ComponentsComponent Drafts
- Update a folder
- Updates a folder in a collection. For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). **Note:** - This request uses example values in the request body for context when updating collection folders. For additional ways to update a folder, see the collection's examples. - This endpoint acts like a PATCH method. It only updates the values that you pass in the request body (for example, the `name` property). The endpoint does **not** update the entire resource.
- CollectionsItemsFolders
- Update a folder's comment
- Updates a comment on a folder. **Note:** This endpoint accepts a max of 10,000 characters.
- CollectionsItemsFoldersComments1
- Update a group
- Updates a group's information. Using this endpoint you can: - Update a group's name. - Add or remove members from a Postman group.
- SCIMGroup Provisioning
- Update a mock server
- Updates a mock server's properties, such as its name or collection.
- Mocks
- Update a monitor
- Updates a monitor.
- Monitors
- Update an API
- Updates an API.
- DEPRECATEDv9API1
- Update an API release
- **This endpoint is deprecated in Postman v10 and higher.** Updates an API version's release. Include at least one of the following properties in the `release` object: - `name` — A **string** value that contains the release name. - `visibility` — A **string** value that contains the release's visibility. One of: - `private` — The release is private. - `public` — The release is public. - `summary` — A **string** value that contains the release's summary. - `description` — A **string** value that contains the release's description. - `gitTag` — A **string** value that contains a valid [Git tag](https://docs.github.com/en/rest/git/tags) ID. The tag must exist in the API's connected Git repository.
- DEPRECATEDv9API1Release
- Update an API's comment
- Updates a comment on an API. Include the following in request body: - `body` — (Required) A **string** that contains the updated comment. - `tags` — An **object** that contains information about users tagged in the `body` comment. Include the following in this object: - `userName` — (Required) An **object** that contains information about the tagged user. The object's name is the user's Postman username. For example, `@user-postman`. Include the following in this object: - `type` — (Required) A **string** that contains the user value. - `id` — (Required) An **integer** that contains the user's ID. **Note:** This endpoint accepts a max of 10,000 characters.
- DEPRECATEDv11APIComments123456
- Update an API's tags
- Gets all the tags associated with an API. This endpoint replaces all existing tags with those you pass in the request body. **Note:** - You can only add a maximum of five tags to an API. - Tags must be between 2 and 64 characters long. - Tags must follow the `^[a-z][a-z0-9-]\\\\\*[a-z0-9]+$` pattern.
- DEPRECATEDv11APITags123
- Update an API version
- **This endpoint is deprecated in Postman v10 and higher.** Updates an API version. Include the following request body properties in the `version` object: - `name` — A **string** that contains the API version's name.
- DEPRECATEDv9API1API Version1
- Update an element or folder
- Updates an element or folder in your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/). When you call this endpoint, the `elementType` property must be the `api`, `folder`, `collection`, or `workspace` value. The `elementId` value is the `api`, `folder`, or `workspace` element's ID. For `collection`, this value is the collection's UID (`userId`\-`collectionId`). Include the following in the request body object: - `elementType` — The Private API Network element type. The object's name must be one of the following: - `api` - `folder` - `collection` - `workspace` In the `elementType` object, include the following values: - `parentFolderId` — A **string** value that contains the element's new Private API Network folder ID. **For Collections:** - `summary` — A **string** value that contains the collection's new summary. **For Private API Network Folders:** You can include the following optional properties: - `description` — A **string** value that contains the folder's new description. - `name` — A **string** value that contains the folder's new name.
- DEPRECATEDv11Private API Network1
- Update an environment
- Updates specific environment properties, such as its name and variables. **Note:** - You can only perform one type of operation at a time. For example, you cannot perform an `add` and `replace` operation in the same call. - The request body size cannot exceed the maximum allowed size of 30MB. - If you receive an HTTP `411 Length Required` error response, manually pass the `Content-Length` header and its value in the request header. - To add a description to an existing variable, use the `add` operation. - Only [<u>shared variable</u>](https://learning.postman.com/docs/use/send-requests/variables/variables/#share-variable-values) values can be modified through the Postman API. A shared variable is an environment variable with its value synced and stored in the Postman cloud, and can be accessed by your teammates in the environment's workspace.
- Environments
- Update an SDK Git connection
- Updates the Git connection's lifecycle status: - `active` — Connects or reconnects the repository. All auto-update pull requests resume. - `disconnected` — Disconnects the repository, and no further auto-update pull requests are opened. The historical pull request record is preserved and remains queryable. **Note:** - The `autoUpdatePullRequestsEnabled` property is only available to **Enterprise** plan users. If the user is on a **Team** plan, this value is always `false`. - This action is idempotent. Setting the fields to their current values is a no-op and still returns the connection. - The `inaccessible` status is system-determined and can't be set with this endpoint.
- SDKsSDK Git Connections
- Update a package
- Updates a package's description and/or index script content.
- Packages
- Update a pull request
- Updates an open pull request.
- Pull Requests1
- Update a request
- Updates a request in a collection. For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). **Note:** - This request uses example values in the request body for context when updating collection requests. For additional ways to create a request, see the collection's examples. - You must pass a collection ID (`12ece9e1-2abf-4edc-8e34-de66e74114d2`), not a collection UID (`12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2`), in this endpoint. - This endpoint acts like a PATCH method. It only updates the values that you pass in the request body (for example, the `name` property). The endpoint does **not** update the entire resource. - This endpoint does not support changing the folder of a request.
- CollectionsItemsRequests
- Update a request's comment
- Updates a comment on a request. **Note:** This endpoint accepts a max of 10,000 characters.
- CollectionsItemsRequestsComments12
- Update a response
- Updates a response in a collection. For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). **Note:** - This request uses example values in the request body for context when updating collection responses. For additional ways to create a response, see the collection's examples. - You must pass a collection ID (`12ece9e1-2abf-4edc-8e34-de66e74114d2`), not a collection UID (`12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2`), in this endpoint. - This endpoint acts like a PATCH method. It only updates the values that you pass in the request body (for example, the `name` property). The endpoint does **not** update the entire resource.
- CollectionsItemsResponses
- Update a response's comment
- Updates a comment on a response. **Note:** This endpoint accepts a max of 10,000 characters.
- CollectionsItemsResponsesComments123
- Update a schema
- **This endpoint is deprecated in Postman v10 and higher.** Updates an API definition. The request body must contain a `schema` object with the following properties: - `type` — A **string** value that contains the API definition's type. One of: - `openapi3_1` - `openapi3` - `openapi2` - `openapi1` - `raml` - `raml1` - `wsdl1` - `wsdl2` - `graphql` - `proto2` - `graphql` - `proto3` - `language` — A **string** value that contains the API definition's language. One of: - OpenAPI and RAML — `json` or `yaml` - GraphQL — `graphql` - WSDL — `xml` - Protobuf — `proto` - `schema` — Optional. A **string** value that contains the API definition's contents.
- DEPRECATEDv9API1Schema1
- Update a server response
- Updates a mock server's server response.
- MocksServer Responses
- Update a spec file
- Updates a file for an OpenAPI specifications and protobuf 2 and 3 specifications. **Note:** - This endpoint does not accept an empty request body. You must pass one of the accepted values. - This endpoint does not accept multiple request body properties in a single call. For example, you cannot pass both the `content` and `type` property at the same time. - Multi-file specifications can only have one root file. - When updating a file type to `ROOT`, the previous root file is updated to the `DEFAULT` file type. - Files cannot exceed a maximum of 10 MB in size.
- SpecsFiles
- Update a spec's properties
- Updates an API specification's properties, such as its name.
- Specs
- Update a system environment
- Updates a system environment's information. You can update one or more fields in a single call. **Note:** If you update the name, it must be unique within the team.
- API CatalogSystem Environments
- Update a user
- Updates a user in Postman. ### Reactivating users By setting the `active` property from `false` to `true`, this reactivates an account. This allows the account to authenticate in to Postman and adds the account back on to your Postman team.
- SCIMUser Provisioning
- Update a user
- Updates a user in Postman. ### Reactivating users By setting the `active` property from `false` to `true`, this reactivates an account. This allows the account to authenticate in to Postman and adds the account back on to your Postman team.
- SCIMUser Provisioning
- Update a version
- Updates an API version. Include at least one of the following properties in the request body: - `name` — A **string** value that contains the version name. - `releaseNotes` — A **string** value that contains the Markdown-supported release notes. **Note:** This endpoint returns an HTTP `404 Not Found` response when an API version is pending publication.
- DEPRECATEDv11APIAPI Version
- Update a workspace
- Updates a workspace's property, such as its name or visibility. **Note:** - This endpoint does <u>not</u> support the following workspace visibility changes: - `private` to `public`, `public` to `private`, and `private` to `personal` for **Free** and **Solo** [plans](https://www.postman.com/pricing/). - `public` to `personal` for team users only. - There are rate limits when publishing public workspaces. - Public team workspace names must be unique.
- Workspaces
- Update a workspace's tags
- Updates a workspace's associated tags. This endpoint replaces all existing tags with those you pass in the request body. **Note:** - You can only add a maximum of five tags to an API. - Tags must be between 2 and 64 characters long. - Tags must follow the `^[a-z][a-z0-9-]\\\\\\*[a-z0-9]+$` pattern.
- WorkspacesTags12
- Update a workspace update
- Updates a workspace update. **Note:** This endpoint requires the `application/merge-patch+json` Content-Type header.
- WorkspacesWorkspace Updates
- Update detected secret resolution status
- Updates the resolution status of a secret detected in a workspace.
- Secret ScannerDetected Secrets
- Update global variables
- Updates and replaces a workspace's global [variables](https://learning.postman.com/docs/sending-requests/variables/#variable-scopes). This endpoint replaces all existing global variables with the variables you pass in the request body.
- WorkspacesGlobal Variables
- Update part of a collection
- Updates specific collection information, such as its authentication, name, events, or variables. For a complete list of properties and information, see the [Postman Collection Format documentation](https://schema.postman.com/collection/json/v2.1.0/draft-07/docs/index.html). **Note:** This request uses example values in the request body for context when replacing a collection's data. For additional ways to replace collection data, see the collection's examples.
- Collections
- Update spec sync options
- Updates the [sync options](https://learning.postman.com/docs/design-apis/specifications/generate-collections/#configure-sync-settings) for a specification's generated collection.
- Specs
- Update team settings
- Updates a team's settings.
- TeamsTeam Settings
- Update workspace roles
- Updates the roles of users, [user groups](https://learning.postman.com/docs/collaborating-in-postman/user-groups/), or partners in a workspace. To get a list of roles, use the [GET /workspace-roles](https://www.postman.com/postman/workspace/postman-public-workspace/request/12959542-f4250b7c-87a6-46ba-a58b-02081131a67c) endpoint. **Note:** - User groups are available on Postman [Enterprise plans](https://www.postman.com/pricing). - To use SCIM IDs for users and user groups, include the `identifierType=scim` header when you call this endpoint. To get SCIM user IDs, use the `include=scim` query parameter when calling the [GET /workspaces/{workspaceId}](https://www.postman.com/postman/workspace/postman-public-workspace/request/12959542-3a56b6f8-8d0c-410f-a933-03e26589c742?ctx=documentation) or [GET /workspaces](https://www.postman.com/postman/workspace/postman-public-workspace/request/12959542-f027a0fa-9012-4654-a65d-2b751a3154a9) endpoints. - You can't set roles for users in personal workspaces. - This endpoint doesn't support the external [Guest role](https://learning.postman.com/docs/collaborating-in-postman/roles-and-permissions/#team-roles). - The partner **Editor** and **Editor and Partner Lead** roles aren't supported in multi-partner workspaces. - You can't update partner and user roles in the same operation. - This endpoint is restricted to 50 operations per call. - The request body must contain one unique action per user, user group, or partner. For example, you cannot add and remove multiple roles for a user in the same request body.
- WorkspacesRoles1
Postman integration, answered
- How do AI agents use Postman through Open Connector?
- Your user connects Postman once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Postman tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
- Is this a Postman MCP server?
- Yes. Open Connector can serve Postman as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Postman actions with credentials injected server-side.
- Where do Postman credentials live?
- In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.
Give your agents Postman — keep the keys.
Open source, self-hostable, with Postman credentials that never leave your infrastructure. Run it from source today.