Postman
Accelerate API development with Postman’s all-in-one platform. Streamline collaboration and simplify the API lifecycle for faster, better results.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| API Key | api_key | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "POSTMAN_ADD_ACOLLECTION", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("POSTMAN_ADD_ACOLLECTION", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute POSTMAN_ADD_ACOLLECTION --data '{ }'Tool 目录
可用 Tools
274 个可调用操作
Add a collectionPOSTMAN_ADD_ACOLLECTIONAdds 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.需要连接
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.
认证
需要 Connected AccountTags
Add a workspacePOSTMAN_ADD_AWORKSPACEPublishes a workspace in your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).需要连接
Publishes a workspace in your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).
认证
需要 Connected AccountTags
Add discovered services to the API CatalogPOSTMAN_ADD_DISCOVERED_SERVICES_TO_THE_API_CATALOGAdds discovered services to the API Catalog. Accepts up to 20 services in a single call.需要连接
Adds discovered services to the API Catalog. Accepts up to 20 services in a single call.
认证
需要 Connected AccountTags
Add system environment associationsPOSTMAN_ADD_SYSTEM_ENVIRONMENT_ASSOCIATIONSAdds workspace-environment associations to a system environment.需要连接
Adds workspace-environment associations to a system environment.
认证
需要 Connected AccountTags
API definition validationPOSTMAN_API_DEFINITION_VALIDATIONPerforms 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.需要连接
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.
认证
需要 Connected AccountTags
Approve or deny an access requestPOSTMAN_APPROVE_OR_DENY_AN_ACCESS_REQUESTApprove or deny a team's access request.需要连接
Approve or deny a team's access request.
认证
需要 Connected AccountTags
Connect a Git respository to an SDKPOSTMAN_CONNECT_AGIT_RESPOSITORY_TO_AN_SDKConnects 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`.需要连接
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`.
认证
需要 Connected AccountTags
Create a collectionPOSTMAN_CREATE_ACOLLECTIONCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a collection commentPOSTMAN_CREATE_ACOLLECTION_COMMENTCreates a comment on a collection. **Note:** This endpoint accepts a max of 10,000 characters.需要连接
Creates a comment on a collection. **Note:** This endpoint accepts a max of 10,000 characters.
认证
需要 Connected AccountTags
Create a collection commentPOSTMAN_CREATE_ACOLLECTION_COMMENT1Creates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a collection from a schemaPOSTMAN_CREATE_ACOLLECTION_FROM_ASCHEMA**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.**需要连接
**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.**
认证
需要 Connected AccountTags
Create a componentPOSTMAN_CREATE_ACOMPONENTCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a component versionPOSTMAN_CREATE_ACOMPONENT_VERSIONPublishes 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.需要连接
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.
认证
需要 Connected AccountTags
Create a folderPOSTMAN_CREATE_AFOLDERCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a folder commentPOSTMAN_CREATE_AFOLDER_COMMENTCreates a comment on a folder. **Note:** This endpoint accepts a max of 10,000 characters.需要连接
Creates a comment on a folder. **Note:** This endpoint accepts a max of 10,000 characters.
认证
需要 Connected AccountTags
Create a forkPOSTMAN_CREATE_AFORKCreates a [fork](https://learning.postman.com/docs/collaborating-in-postman/version-control/#creating-a-fork) from an existing collection into a workspace.需要连接
Creates a [fork](https://learning.postman.com/docs/collaborating-in-postman/version-control/#creating-a-fork) from an existing collection into a workspace.
认证
需要 Connected AccountTags
Create a forkPOSTMAN_CREATE_AFORK1Creates a [fork](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/forking-elements/) from an existing environment into a workspace.需要连接
Creates a [fork](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/forking-elements/) from an existing environment into a workspace.
认证
需要 Connected AccountTags
Create a groupPOSTMAN_CREATE_AGROUPCreates 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).需要连接
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).
认证
需要 Connected AccountTags
Create a mock serverPOSTMAN_CREATE_AMOCK_SERVERCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a monitorPOSTMAN_CREATE_AMONITORCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create an access requestPOSTMAN_CREATE_AN_ACCESS_REQUESTCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create an APIPOSTMAN_CREATE_AN_APICreates an API.需要连接
Creates an API.
认证
需要 Connected AccountTags
Create an API commentPOSTMAN_CREATE_AN_API_COMMENTCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create an API releasePOSTMAN_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.需要连接
**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.
认证
需要 Connected AccountTags
Create an environmentPOSTMAN_CREATE_AN_ENVIRONMENTCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a packagePOSTMAN_CREATE_APACKAGECreates a package and its index script as a Postman Package Library resource.需要连接
Creates a package and its index script as a Postman Package Library resource.
认证
需要 Connected AccountTags
Create a pull requestPOSTMAN_CREATE_APULL_REQUESTCreates a pull request for a forked collection into its parent collection.需要连接
Creates a pull request for a forked collection into its parent collection.
认证
需要 Connected AccountTags
Create a requestPOSTMAN_CREATE_AREQUESTCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a request commentPOSTMAN_CREATE_AREQUEST_COMMENTCreates a comment on a request. **Note:** This endpoint accepts a max of 10,000 characters.需要连接
Creates a comment on a request. **Note:** This endpoint accepts a max of 10,000 characters.
认证
需要 Connected AccountTags
Create a responsePOSTMAN_CREATE_ARESPONSECreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a response commentPOSTMAN_CREATE_ARESPONSE_COMMENTCreates a comment on a response. **Note:** This endpoint accepts a max of 10,000 characters.需要连接
Creates a comment on a response. **Note:** This endpoint accepts a max of 10,000 characters.
认证
需要 Connected AccountTags
Create a schemaPOSTMAN_CREATE_ASCHEMACreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a schemaPOSTMAN_CREATE_ASCHEMA1**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.需要连接
**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.
认证
需要 Connected AccountTags
Create a server responsePOSTMAN_CREATE_ASERVER_RESPONSECreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a specPOSTMAN_CREATE_ASPECCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a spec filePOSTMAN_CREATE_ASPEC_FILECreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a system environmentPOSTMAN_CREATE_ASYSTEM_ENVIRONMENTCreates a system environment for the authenticated team.需要连接
Creates a system environment for the authenticated team.
认证
需要 Connected AccountTags
Create a teamPOSTMAN_CREATE_ATEAM[Creates](https://learning.postman.com/docs/administration/managing-your-team/create-teams/) a Postman team in your organization.需要连接
[Creates](https://learning.postman.com/docs/administration/managing-your-team/create-teams/) a Postman team in your organization.
认证
需要 Connected AccountTags
Create a userPOSTMAN_CREATE_AUSERCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a version tagPOSTMAN_CREATE_AVERSION_TAGCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a webhookPOSTMAN_CREATE_AWEBHOOKCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a workspacePOSTMAN_CREATE_AWORKSPACECreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create a workspace updatePOSTMAN_CREATE_AWORKSPACE_UPDATECreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create or update a schema filePOSTMAN_CREATE_OR_UPDATE_ASCHEMA_FILECreates 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.需要连接
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.
认证
需要 Connected AccountTags
Create relationsPOSTMAN_CREATE_RELATIONSCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a collectionPOSTMAN_DELETE_ACOLLECTIONDeletes a collection.需要连接
Deletes a collection.
认证
需要 Connected AccountTags
Delete a collection's commentPOSTMAN_DELETE_ACOLLECTION_SCOMMENTDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a collection's commentPOSTMAN_DELETE_ACOLLECTION_SCOMMENT1Deletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a folderPOSTMAN_DELETE_AFOLDERDeletes a folder in a collection.需要连接
Deletes a folder in a collection.
认证
需要 Connected AccountTags
Delete a folder's commentPOSTMAN_DELETE_AFOLDER_SCOMMENTDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a groupPOSTMAN_DELETE_AGROUPDeletes 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/).需要连接
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/).
认证
需要 Connected AccountTags
Delete a mock serverPOSTMAN_DELETE_AMOCK_SERVERDeletes a mock server.需要连接
Deletes a mock server.
认证
需要 Connected AccountTags
Delete a monitorPOSTMAN_DELETE_AMONITORDeletes a monitor.需要连接
Deletes a monitor.
认证
需要 Connected AccountTags
Delete an API releasePOSTMAN_DELETE_AN_API_RELEASE**This endpoint is deprecated in Postman v10 and higher.** Deletes an API version's release.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Deletes an API version's release.
认证
需要 Connected AccountTags
Delete an API's commentPOSTMAN_DELETE_AN_API_SCOMMENTDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete an API versionPOSTMAN_DELETE_AN_API_VERSION**This endpoint is deprecated in Postman v10 and higher.** Deletes an API version.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Deletes an API version.
认证
需要 Connected AccountTags
Delete an environmentPOSTMAN_DELETE_AN_ENVIRONMENTDeletes an environment.需要连接
Deletes an environment.
认证
需要 Connected AccountTags
Delete an SDKPOSTMAN_DELETE_AN_SDKDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a packagePOSTMAN_DELETE_APACKAGEDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a requestPOSTMAN_DELETE_AREQUESTDeletes a request in a collection.需要连接
Deletes a request in a collection.
认证
需要 Connected AccountTags
Delete a request's commentPOSTMAN_DELETE_AREQUEST_SCOMMENTDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a responsePOSTMAN_DELETE_ARESPONSEDeletes a response in a collection. On success, this returns an HTTP `204 No Content` response.需要连接
Deletes a response in a collection. On success, this returns an HTTP `204 No Content` response.
认证
需要 Connected AccountTags
Delete a response's commentPOSTMAN_DELETE_ARESPONSE_SCOMMENTDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a schema filePOSTMAN_DELETE_ASCHEMA_FILEDeletes a file in an API schema. On success, this returns an HTTP `204 No Content` response.需要连接
Deletes a file in an API schema. On success, this returns an HTTP `204 No Content` response.
认证
需要 Connected AccountTags
Delete a server responsePOSTMAN_DELETE_ASERVER_RESPONSEDeletes a mock server's server response.需要连接
Deletes a mock server's server response.
认证
需要 Connected AccountTags
Delete a specPOSTMAN_DELETE_ASPECDeletes an API specification. On success, this returns an HTTP `204 No Content` response.需要连接
Deletes an API specification. On success, this returns an HTTP `204 No Content` response.
认证
需要 Connected AccountTags
Delete a spec filePOSTMAN_DELETE_ASPEC_FILEDeletes a file in an API specification. On success, this returns an HTTP `204 No Content` response.需要连接
Deletes a file in an API specification. On success, this returns an HTTP `204 No Content` response.
认证
需要 Connected AccountTags
Delete a versionPOSTMAN_DELETE_AVERSIONDeletes 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.需要连接
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.
认证
需要 Connected AccountTags
Delete a workspacePOSTMAN_DELETE_AWORKSPACEDeletes an existing workspace.需要连接
Deletes an existing workspace.
认证
需要 Connected AccountTags
Delete a workspace updatePOSTMAN_DELETE_AWORKSPACE_UPDATEDeletes a workspace update. On success, this returns an HTTP `204 No Content` response.需要连接
Deletes a workspace update. On success, this returns an HTTP `204 No Content` response.
认证
需要 Connected AccountTags
Duplicate a collectionPOSTMAN_DUPLICATE_ACOLLECTIONCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Generate a collection from specPOSTMAN_GENERATE_ACOLLECTION_FROM_SPECCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Generate an SDKPOSTMAN_GENERATE_AN_SDKCreates 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.需要连接
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.
认证
需要 Connected AccountTags
Generate a toolPOSTMAN_GENERATE_ATOOLGenerates 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.需要连接
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.
认证
需要 Connected AccountTags
Generate spec from collectionPOSTMAN_GENERATE_SPEC_FROM_COLLECTIONGenerates an OpenAPI 2.0, 3.0, or 3.1 specification for the given collection. The response contains a polling link to the task status.需要连接
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.
认证
需要 Connected AccountTags
Get accountsPOSTMAN_GET_ACCOUNTSGets Postman billing account details for the given team.需要连接
Gets Postman billing account details for the given team.
认证
需要 Connected AccountTags
Get a collectionPOSTMAN_GET_ACOLLECTIONGets 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).需要连接
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).
认证
需要 Connected AccountTags
Get a collection's commentsPOSTMAN_GET_ACOLLECTION_SCOMMENTSGets all comments left by users in a collection.需要连接
Gets all comments left by users in a collection.
认证
需要 Connected AccountTags
Get a collection's commentsPOSTMAN_GET_ACOLLECTION_SCOMMENTS1Gets all comments left by users in an API's collection.需要连接
Gets all comments left by users in an API's collection.
认证
需要 Connected AccountTags
Get a collection's forksPOSTMAN_GET_ACOLLECTION_SFORKSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a collection's pull requestsPOSTMAN_GET_ACOLLECTION_SPULL_REQUESTSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a collection's rolesPOSTMAN_GET_ACOLLECTION_SROLESGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a collection's tagsPOSTMAN_GET_ACOLLECTION_STAGSGets all the tags associated with a collection.需要连接
Gets all the tags associated with a collection.
认证
需要 Connected AccountTags
Get a collectionPOSTMAN_GET_ACOLLECTION1Gets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a componentPOSTMAN_GET_ACOMPONENTGets information about a component. Use the `include` and `expand` query parameters to return additional information, such as `hasVersions` and the latest published version.需要连接
Gets information about a component. Use the `include` and `expand` query parameters to return additional information, such as `hasVersions` and the latest published version.
认证
需要 Connected AccountTags
Get a component draftPOSTMAN_GET_ACOMPONENT_DRAFTGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a component versionPOSTMAN_GET_ACOMPONENT_VERSIONGets a published version of a component.需要连接
Gets a published version of a component.
认证
需要 Connected AccountTags
Get a discovered service's informationPOSTMAN_GET_ADISCOVERED_SERVICE_SINFORMATIONGets detailed information about a discovered service, including a base64-encoded OpenAPI specification and an array of endpoints.需要连接
Gets detailed information about a discovered service, including a base64-encoded OpenAPI specification and an array of endpoints.
认证
需要 Connected AccountTags
Get a folderPOSTMAN_GET_AFOLDERGets information about a folder in a collection.需要连接
Gets information about a folder in a collection.
认证
需要 Connected AccountTags
Get a folder's commentsPOSTMAN_GET_AFOLDER_SCOMMENTSGets all comments left by users in a folder.需要连接
Gets all comments left by users in a folder.
认证
需要 Connected AccountTags
Get a groupPOSTMAN_GET_AGROUPGets information about a Postman group within the team.需要连接
Gets information about a Postman group within the team.
认证
需要 Connected AccountTags
Get a groupPOSTMAN_GET_AGROUP1Gets information about a Postman [user group](https://learning.postman.com/docs/collaborating-in-postman/user-groups/).需要连接
Gets information about a Postman [user group](https://learning.postman.com/docs/collaborating-in-postman/user-groups/).
认证
需要 Connected AccountTags
Get all add requestsPOSTMAN_GET_ALL_ADD_REQUESTSGets all requests to add workspaces to your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).需要连接
Gets all requests to add workspaces to your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).
认证
需要 Connected AccountTags
Get all API releasesPOSTMAN_GET_ALL_API_RELEASES**This endpoint is deprecated in Postman v10 and higher.** Gets information about all of an API version's releases.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Gets information about all of an API version's releases.
认证
需要 Connected AccountTags
Get all APIsPOSTMAN_GET_ALL_APISGets information about all APIs in a workspace. **Note:** This endpoint only returns APIs created or migrated in Postman v10 and higher.需要连接
Gets information about all APIs in a workspace. **Note:** This endpoint only returns APIs created or migrated in Postman v10 and higher.
认证
需要 Connected AccountTags
Get all audit log event actionsPOSTMAN_GET_ALL_AUDIT_LOG_EVENT_ACTIONSGets a complete list of all available audit log event actions.需要连接
Gets a complete list of all available audit log event actions.
认证
需要 Connected AccountTags
Get all collectionsPOSTMAN_GET_ALL_COLLECTIONSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get all component versionsPOSTMAN_GET_ALL_COMPONENT_VERSIONSGets a list of a component's published versions.需要连接
Gets a list of a component's published versions.
认证
需要 Connected AccountTags
Get all componentsPOSTMAN_GET_ALL_COMPONENTSGets a list of all components in the team's component library.需要连接
Gets a list of all components in the team's component library.
认证
需要 Connected AccountTags
Get all environmentsPOSTMAN_GET_ALL_ENVIRONMENTSGets information about all of your [environments](https://learning.postman.com/docs/sending-requests/managing-environments/).需要连接
Gets information about all of your [environments](https://learning.postman.com/docs/sending-requests/managing-environments/).
认证
需要 Connected AccountTags
Get all forked collectionsPOSTMAN_GET_ALL_FORKED_COLLECTIONSGets a list of all the authenticated user's forked collections.需要连接
Gets a list of all the authenticated user's forked collections.
认证
需要 Connected AccountTags
Get all groupsPOSTMAN_GET_ALL_GROUPSGets all Postman groups within the team.需要连接
Gets all Postman groups within the team.
认证
需要 Connected AccountTags
Get all groupsPOSTMAN_GET_ALL_GROUPS1Gets all of a team's Postman [groups](https://learning.postman.com/docs/collaborating-in-postman/user-groups/).需要连接
Gets all of a team's Postman [groups](https://learning.postman.com/docs/collaborating-in-postman/user-groups/).
认证
需要 Connected AccountTags
Get all linked relationsPOSTMAN_GET_ALL_LINKED_RELATIONSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get all mock serversPOSTMAN_GET_ALL_MOCK_SERVERSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get all monitorsPOSTMAN_GET_ALL_MONITORSGets all monitors.需要连接
Gets all monitors.
认证
需要 Connected AccountTags
Get all packagesPOSTMAN_GET_ALL_PACKAGESGets all active packages available to the authenticated user. **Note:** Script content isn't included in response.需要连接
Gets all active packages available to the authenticated user. **Note:** Script content isn't included in response.
认证
需要 Connected AccountTags
Get all rolesPOSTMAN_GET_ALL_ROLESGets information about all roles in a workspace, based on the team's [plan](https://www.postman.com/pricing/).需要连接
Gets information about all roles in a workspace, based on the team's [plan](https://www.postman.com/pricing/).
认证
需要 Connected AccountTags
Get all runner instancesPOSTMAN_GET_ALL_RUNNER_INSTANCESGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get all SDK Git connectionsPOSTMAN_GET_ALL_SDK_GIT_CONNECTIONSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get all SDKsPOSTMAN_GET_ALL_SDKSLists 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.需要连接
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.
认证
需要 Connected AccountTags
Get all server responsesPOSTMAN_GET_ALL_SERVER_RESPONSESGets all of a mock server's server responses.需要连接
Gets all of a mock server's server responses.
认证
需要 Connected AccountTags
Get all servicesPOSTMAN_GET_ALL_SERVICESGets a list of services in a system environment. The response includes details about analytics, compliance, and governance metadata.需要连接
Gets a list of services in a system environment. The response includes details about analytics, compliance, and governance metadata.
认证
需要 Connected AccountTags
Get all specsPOSTMAN_GET_ALL_SPECSGets all API specifications in a workspace.需要连接
Gets all API specifications in a workspace.
认证
需要 Connected AccountTags
Get all system environmentsPOSTMAN_GET_ALL_SYSTEM_ENVIRONMENTSGets all of the authenticated team's system environments.需要连接
Gets all of the authenticated team's system environments.
认证
需要 Connected AccountTags
Get all team usersPOSTMAN_GET_ALL_TEAM_USERSGets information about all users on the [Postman team](https://learning.postman.com/docs/collaborating-in-postman/working-with-your-team/collaboration-overview/).需要连接
Gets information about all users on the [Postman team](https://learning.postman.com/docs/collaborating-in-postman/working-with-your-team/collaboration-overview/).
认证
需要 Connected AccountTags
Get all teamsPOSTMAN_GET_ALL_TEAMSGets all Postman teams in your organization.需要连接
Gets all Postman teams in your organization.
认证
需要 Connected AccountTags
Get all test relationsPOSTMAN_GET_ALL_TEST_RELATIONS**This endpoint is deprecated in Postman v10 and higher.** Gets all of an API version's test relations.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Gets all of an API version's test relations.
认证
需要 Connected AccountTags
Get all usersPOSTMAN_GET_ALL_USERSGets information about all Postman team members.需要连接
Gets information about all Postman team members.
认证
需要 Connected AccountTags
Get all versionsPOSTMAN_GET_ALL_VERSIONSGets all the published versions of an API.需要连接
Gets all the published versions of an API.
认证
需要 Connected AccountTags
Get all workspace updatesPOSTMAN_GET_ALL_WORKSPACE_UPDATESGets a list of workspace updates for the given workspace.需要连接
Gets a list of workspace updates for the given workspace.
认证
需要 Connected AccountTags
Get all workspacesPOSTMAN_GET_ALL_WORKSPACESGets information workspaces added to your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).需要连接
Gets information workspaces added to your team's [Private API Network](https://learning.postman.com/docs/collaborating-in-postman/adding-private-network/).
认证
需要 Connected AccountTags
Get all workspacesPOSTMAN_GET_ALL_WORKSPACES1Gets 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)).需要连接
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)).
认证
需要 Connected AccountTags
Get a mock serverPOSTMAN_GET_AMOCK_SERVERGets information about a mock server.需要连接
Gets information about a mock server.
认证
需要 Connected AccountTags
Get a mock server's call logsPOSTMAN_GET_AMOCK_SERVER_SCALL_LOGSGets 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/).需要连接
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/).
认证
需要 Connected AccountTags
Get a monitorPOSTMAN_GET_AMONITORGets information about a monitor.需要连接
Gets information about a monitor.
认证
需要 Connected AccountTags
Get an APIPOSTMAN_GET_AN_APIGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get an API releasePOSTMAN_GET_AN_API_RELEASE**This endpoint is deprecated in Postman v10 and higher.** Gets information about an API version's release.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Gets information about an API version's release.
认证
需要 Connected AccountTags
Get an API's commentsPOSTMAN_GET_AN_API_SCOMMENTSGets all comments left by users in an API.需要连接
Gets all comments left by users in an API.
认证
需要 Connected AccountTags
Get an API's tagsPOSTMAN_GET_AN_API_STAGSGets all the tags associated with an API.需要连接
Gets all the tags associated with an API.
认证
需要 Connected AccountTags
Get an API versionPOSTMAN_GET_AN_API_VERSIONGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get an environmentPOSTMAN_GET_AN_ENVIRONMENTGets information about an environment.需要连接
Gets information about an environment.
认证
需要 Connected AccountTags
Get an environment's forksPOSTMAN_GET_AN_ENVIRONMENT_SFORKSGets all of an environment's forked environments.需要连接
Gets all of an environment's forked environments.
认证
需要 Connected AccountTags
Get an SDKPOSTMAN_GET_AN_SDKReturns information about the SDK, including the current build job status.需要连接
Returns information about the SDK, including the current build job status.
认证
需要 Connected AccountTags
Get an SDK Git connectionPOSTMAN_GET_AN_SDK_GIT_CONNECTIONGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get an SDK Git connection's pull requestsPOSTMAN_GET_AN_SDK_GIT_CONNECTION_SPULL_REQUESTSLists 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.需要连接
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.
认证
需要 Connected AccountTags
Get an SDK's download URLPOSTMAN_GET_AN_SDK_SDOWNLOAD_URLGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get analytics metadataPOSTMAN_GET_ANALYTICS_METADATAReturns 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.需要连接
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.
认证
需要 Connected AccountTags
Get a packagePOSTMAN_GET_APACKAGEGets an active package's metadata and its current index script content.需要连接
Gets an active package's metadata and its current index script content.
认证
需要 Connected AccountTags
Get a pull requestPOSTMAN_GET_APULL_REQUESTGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a requestPOSTMAN_GET_AREQUESTGets information about a request in a collection.需要连接
Gets information about a request in a collection.
认证
需要 Connected AccountTags
Get a request's commentsPOSTMAN_GET_AREQUEST_SCOMMENTSGets all comments left by users in a request.需要连接
Gets all comments left by users in a request.
认证
需要 Connected AccountTags
Get a responsePOSTMAN_GET_ARESPONSEGets information about a response in a collection.需要连接
Gets information about a response in a collection.
认证
需要 Connected AccountTags
Get a response's commentsPOSTMAN_GET_ARESPONSE_SCOMMENTSGets all comments left by users in a response.需要连接
Gets all comments left by users in a response.
认证
需要 Connected AccountTags
Get a schemaPOSTMAN_GET_ASCHEMAGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a schemaPOSTMAN_GET_ASCHEMA1**This endpoint is deprecated in Postman v10 and higher.** Gets information about an API's definition.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Gets information about an API's definition.
认证
需要 Connected AccountTags
Get a server responsePOSTMAN_GET_ASERVER_RESPONSEGets information about a server response.需要连接
Gets information about a server response.
认证
需要 Connected AccountTags
Get a service by IDPOSTMAN_GET_ASERVICE_BY_IDGets information about a service, including its health, traffic, compliance, ownership, and dependencies.需要连接
Gets information about a service, including its health, traffic, compliance, ownership, and dependencies.
认证
需要 Connected AccountTags
Get a service's CI runsPOSTMAN_GET_ASERVICE_SCI_RUNSGets a list of CI collection runs for a service that includes summary statistics, pipeline details, and Git metadata.需要连接
Gets a list of CI collection runs for a service that includes summary statistics, pipeline details, and Git metadata.
认证
需要 Connected AccountTags
Get a service's endpointsPOSTMAN_GET_ASERVICE_SENDPOINTSGet a list of observed API endpoints for a service and its performance metrics.需要连接
Get a list of observed API endpoints for a service and its performance metrics.
认证
需要 Connected AccountTags
Get a service's monitor runsPOSTMAN_GET_ASERVICE_SMONITOR_RUNSGets a list of scheduled monitor runs for a service that includes summary statistics.需要连接
Gets a list of scheduled monitor runs for a service that includes summary statistics.
认证
需要 Connected AccountTags
Get a service's specification lintsPOSTMAN_GET_ASERVICE_SSPECIFICATION_LINTSGets a list of API specification lint runs for a service that includes summary statistics and per-severity issue counts.需要连接
Gets a list of API specification lint runs for a service that includes summary statistics and per-severity issue counts.
认证
需要 Connected AccountTags
Get a specPOSTMAN_GET_ASPECGets information about an API specification.需要连接
Gets information about an API specification.
认证
需要 Connected AccountTags
Get a spec filePOSTMAN_GET_ASPEC_FILEGets the contents of an API specification's file.需要连接
Gets the contents of an API specification's file.
认证
需要 Connected AccountTags
Get a spec's definitionPOSTMAN_GET_ASPEC_SDEFINITIONGets the complete contents of an OpenAPI or AsyncAPI specification's definition.需要连接
Gets the complete contents of an OpenAPI or AsyncAPI specification's definition.
认证
需要 Connected AccountTags
Get a spec's filesPOSTMAN_GET_ASPEC_SFILESGets all the files in an API specification.需要连接
Gets all the files in an API specification.
认证
需要 Connected AccountTags
Get a spec's generated collectionsPOSTMAN_GET_ASPEC_SGENERATED_COLLECTIONSGets all of an API specification's generated collections.需要连接
Gets all of an API specification's generated collections.
认证
需要 Connected AccountTags
Get a specification's version tagsPOSTMAN_GET_ASPECIFICATION_SVERSION_TAGSGets a list of a specification's version tags.需要连接
Gets a list of a specification's version tags.
认证
需要 Connected AccountTags
Get async collection update statusPOSTMAN_GET_ASYNC_COLLECTION_UPDATE_STATUSGets the status of an asynchronous collection update task.需要连接
Gets the status of an asynchronous collection update task.
认证
需要 Connected AccountTags
Get a system environmentPOSTMAN_GET_ASYSTEM_ENVIRONMENTGets information about a system environment.需要连接
Gets information about a system environment.
认证
需要 Connected AccountTags
Get a system environment's associationsPOSTMAN_GET_ASYSTEM_ENVIRONMENT_SASSOCIATIONSGets the workspace-environment associations for a system environment.需要连接
Gets the workspace-environment associations for a system environment.
认证
需要 Connected AccountTags
Get a teamPOSTMAN_GET_ATEAMGets information about a Postman team.需要连接
Gets information about a Postman team.
认证
需要 Connected AccountTags
Get a team's access requestsPOSTMAN_GET_ATEAM_SACCESS_REQUESTSGets a team's pending access requests.需要连接
Gets a team's pending access requests.
认证
需要 Connected AccountTags
Get a team's settingsPOSTMAN_GET_ATEAM_SSETTINGSGets a team's settings.需要连接
Gets a team's settings.
认证
需要 Connected AccountTags
Get a team userPOSTMAN_GET_ATEAM_USERGets information about a user on the Postman team.需要连接
Gets information about a user on the Postman team.
认证
需要 Connected AccountTags
Get a userPOSTMAN_GET_AUSERGets information about a Postman team member.需要连接
Gets information about a Postman team member.
认证
需要 Connected AccountTags
Get authenticated userPOSTMAN_GET_AUTHENTICATED_USERGets 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/).需要连接
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/).
认证
需要 Connected AccountTags
Get a versionPOSTMAN_GET_AVERSIONGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a version tagPOSTMAN_GET_AVERSION_TAGGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a workspacePOSTMAN_GET_AWORKSPACEGets 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)).需要连接
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)).
认证
需要 Connected AccountTags
Get a workspace's activity feedPOSTMAN_GET_AWORKSPACE_SACTIVITY_FEEDGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get a workspace's rolesPOSTMAN_GET_AWORKSPACE_SROLESGets the roles of users, user groups, and partners in a workspace. **Note:** Partner roles don't support SCIM IDs.需要连接
Gets the roles of users, user groups, and partners in a workspace. **Note:** Partner roles don't support SCIM IDs.
认证
需要 Connected AccountTags
Get a workspace's tagsPOSTMAN_GET_AWORKSPACE_STAGSGets all the tags associated with a workspace.需要连接
Gets all the tags associated with a workspace.
认证
需要 Connected AccountTags
Get a workspace updatePOSTMAN_GET_AWORKSPACE_UPDATEGets information about a workspace update.需要连接
Gets information about a workspace update.
认证
需要 Connected AccountTags
Get contract test relationsPOSTMAN_GET_CONTRACT_TEST_RELATIONS**This endpoint is deprecated.**需要连接
**This endpoint is deprecated.**
认证
需要 Connected AccountTags
Get detected secrets locationsPOSTMAN_GET_DETECTED_SECRETS_LOCATIONSGets the locations of secrets detected by Postman's [Secret Scanner](https://learning.postman.com/docs/administration/secret-scanner/).需要连接
Gets the locations of secrets detected by Postman's [Secret Scanner](https://learning.postman.com/docs/administration/secret-scanner/).
认证
需要 Connected AccountTags
Get discovered servicesPOSTMAN_GET_DISCOVERED_SERVICESGets a list of all [discovered services](https://learning.postman.com/docs/api-catalog/overview#discover-apis-and-services) in the API Catalog.需要连接
Gets a list of all [discovered services](https://learning.postman.com/docs/api-catalog/overview#discover-apis-and-services) in the API Catalog.
认证
需要 Connected AccountTags
Get documentation relationsPOSTMAN_GET_DOCUMENTATION_RELATIONS**This endpoint is deprecated in Postman v10 and higher.** Gets an API version's documentation relations.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Gets an API version's documentation relations.
认证
需要 Connected AccountTags
Get duplication task statusPOSTMAN_GET_DUPLICATION_TASK_STATUSGets the status of a collection duplication task.需要连接
Gets the status of a collection duplication task.
认证
需要 Connected AccountTags
Get elements by tagPOSTMAN_GET_ELEMENTS_BY_TAGGets 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/).需要连接
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/).
认证
需要 Connected AccountTags
Get environment relationsPOSTMAN_GET_ENVIRONMENT_RELATIONS**This endpoint is deprecated in Postman v10 and higher.** Gets an API version's environment relations.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Gets an API version's environment relations.
认证
需要 Connected AccountTags
Get generated specPOSTMAN_GET_GENERATED_SPECGets the API specification generated for the given collection.需要连接
Gets the API specification generated for the given collection.
认证
需要 Connected AccountTags
Get global variablesPOSTMAN_GET_GLOBAL_VARIABLESGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get integration test relationsPOSTMAN_GET_INTEGRATION_TEST_RELATIONS**This endpoint is deprecated.**需要连接
**This endpoint is deprecated.**
认证
需要 Connected AccountTags
Get merge or pull task statusPOSTMAN_GET_MERGE_OR_PULL_TASK_STATUSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get monitor relationsPOSTMAN_GET_MONITOR_RELATIONS**This endpoint is deprecated in Postman v10 and higher.** Gets an API version's monitor relations.需要连接
**This endpoint is deprecated in Postman v10 and higher.** Gets an API version's monitor relations.
认证
需要 Connected AccountTags
Get resource typesPOSTMAN_GET_RESOURCE_TYPESGets all the resource types supported by Postman's SCIM API.需要连接
Gets all the resource types supported by Postman's SCIM API.
认证
需要 Connected AccountTags
Get runner metricsPOSTMAN_GET_RUNNER_METRICSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get schema file contentsPOSTMAN_GET_SCHEMA_FILE_CONTENTSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get schema filesPOSTMAN_GET_SCHEMA_FILESGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get secret typesPOSTMAN_GET_SECRET_TYPESGets 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.需要连接
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.
认证
需要 Connected AccountTags
Get service provider configurationPOSTMAN_GET_SERVICE_PROVIDER_CONFIGURATIONGets the Postman SCIM API configuration information. This includes a list of supported operations.需要连接
Gets the Postman SCIM API configuration information. This includes a list of supported operations.
认证
需要 Connected AccountTags
Get source collection's statusPOSTMAN_GET_SOURCE_COLLECTION_SSTATUSChecks 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.需要连接
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.
认证
需要 Connected AccountTags
Get status of an async spec taskPOSTMAN_GET_STATUS_OF_AN_ASYNC_SPEC_TASKGets the status of an asynchronous API specification creation task.需要连接
Gets the status of an asynchronous API specification creation task.
认证
需要 Connected AccountTags
Get status of an asynchronous taskPOSTMAN_GET_STATUS_OF_AN_ASYNCHRONOUS_TASKGets the status of an asynchronous task.需要连接
Gets the status of an asynchronous task.
认证
需要 Connected AccountTags
Get status of API Builder to Spec Hub migrationPOSTMAN_GET_STATUS_OF_API_BUILDER_TO_SPEC_HUB_MIGRATIONReturns the status of an API Builder definition’s migration to Spec Hub.需要连接
Returns the status of an API Builder definition’s migration to Spec Hub.
认证
需要 Connected AccountTags
Get team audit logsPOSTMAN_GET_TEAM_AUDIT_LOGSGets 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/).需要连接
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/).
认证
需要 Connected AccountTags
Get test suite relationsPOSTMAN_GET_TEST_SUITE_RELATIONS**This endpoint is deprecated.**需要连接
**This endpoint is deprecated.**
认证
需要 Connected AccountTags
Get unclassified relationsPOSTMAN_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.需要连接
**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.
认证
需要 Connected AccountTags
List account invoicesPOSTMAN_LIST_ACCOUNT_INVOICESGets all invoices for a Postman billing account filtered by the status of the invoice.需要连接
Gets all invoices for a Postman billing account filtered by the status of the invoice.
认证
需要 Connected AccountTags
Manage Partner Workspace invitesPOSTMAN_MANAGE_PARTNER_WORKSPACE_INVITESManages 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.需要连接
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.
认证
需要 Connected AccountTags
Manage team member rolesPOSTMAN_MANAGE_TEAM_MEMBER_ROLESAdds 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.需要连接
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.
认证
需要 Connected AccountTags
Merge a collection forkPOSTMAN_MERGE_ACOLLECTION_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.需要连接
**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.
认证
需要 Connected AccountTags
Merge a forkPOSTMAN_MERGE_AFORK[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.需要连接
[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.
认证
需要 Connected AccountTags
Merge or pull changes into a collection forkPOSTMAN_MERGE_OR_PULL_CHANGES_INTO_ACOLLECTION_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.需要连接
[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.
认证
需要 Connected AccountTags
Migrate API Builder API to Spec HubPOSTMAN_MIGRATE_API_BUILDER_API_TO_SPEC_HUBMigrates 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.需要连接
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.
认证
需要 Connected AccountTags
Publish a mock serverPOSTMAN_PUBLISH_AMOCK_SERVERPublishes a mock server. Publishing a mock server sets its **Access Control** configuration setting to public.需要连接
Publishes a mock server. Publishing a mock server sets its **Access Control** configuration setting to public.
认证
需要 Connected AccountTags
Publish documentationPOSTMAN_PUBLISH_DOCUMENTATIONPublishes 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.需要连接
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.
认证
需要 Connected AccountTags
Pull source changesPOSTMAN_PULL_SOURCE_CHANGESPulls 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.需要连接
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.
认证
需要 Connected AccountTags
Pull source changesPOSTMAN_PULL_SOURCE_CHANGES1[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.需要连接
[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.
认证
需要 Connected AccountTags
Remove an element or folderPOSTMAN_REMOVE_AN_ELEMENT_OR_FOLDERRemoves 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.需要连接
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.
认证
需要 Connected AccountTags
Remove a workspacePOSTMAN_REMOVE_AWORKSPACERemoves 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.需要连接
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.
认证
需要 Connected AccountTags
Remove system environment associationsPOSTMAN_REMOVE_SYSTEM_ENVIRONMENT_ASSOCIATIONSRemoves workspace-environment associations from a system environment.需要连接
Removes workspace-environment associations from a system environment.
认证
需要 Connected AccountTags
Remove team membersPOSTMAN_REMOVE_TEAM_MEMBERSRemoves entities, such as users or organizations, from your Postman team. On success, this returns an HTTP `204 No Content` response.需要连接
Removes entities, such as users or organizations, from your Postman team. On success, this returns an HTTP `204 No Content` response.
认证
需要 Connected AccountTags
Replace a collection's dataPOSTMAN_REPLACE_ACOLLECTION_SDATAReplaces 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.需要连接
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.
认证
需要 Connected AccountTags
Replace an environment's dataPOSTMAN_REPLACE_AN_ENVIRONMENT_SDATAReplaces 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.需要连接
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.
认证
需要 Connected AccountTags
Resolve a comment threadPOSTMAN_RESOLVE_ACOMMENT_THREADResolves 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).需要连接
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).
认证
需要 Connected AccountTags
Respond to an add requestPOSTMAN_RESPOND_TO_AN_ADD_REQUESTResponds 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.需要连接
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.
认证
需要 Connected AccountTags
Review a pull requestPOSTMAN_REVIEW_APULL_REQUESTUpdates the [review](https://learning.postman.com/docs/collaborating-in-postman/using-version-control/reviewing-pull-requests/) status of 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.
认证
需要 Connected AccountTags
Search detected secretsPOSTMAN_SEARCH_DETECTED_SECRETSReturns 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.需要连接
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.
认证
需要 Connected AccountTags
Search PostmanPOSTMAN_SEARCH_POSTMANSearches 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.需要连接
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.
认证
需要 Connected AccountTags
Sync API relations with definitionPOSTMAN_SYNC_API_RELATIONS_WITH_DEFINITIONSyncs an API version's relation with the API's definition.需要连接
Syncs an API version's relation with the API's definition.
认证
需要 Connected AccountTags
Sync collection with schemaPOSTMAN_SYNC_COLLECTION_WITH_SCHEMASyncs 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.需要连接
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.
认证
需要 Connected AccountTags
Sync collection with specPOSTMAN_SYNC_COLLECTION_WITH_SPECSyncs 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.需要连接
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.
认证
需要 Connected AccountTags
Sync spec with collectionPOSTMAN_SYNC_SPEC_WITH_COLLECTIONSyncs 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.需要连接
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.
认证
需要 Connected AccountTags
Transfer element to a workspacePOSTMAN_TRANSFER_ELEMENT_TO_AWORKSPACETransfers 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.需要连接
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.
认证
需要 Connected AccountTags
Transfer foldersPOSTMAN_TRANSFER_FOLDERSCopies or moves folders into a collection or folder.需要连接
Copies or moves folders into a collection or folder.
认证
需要 Connected AccountTags
Transfer requestsPOSTMAN_TRANSFER_REQUESTSCopies or moves requests into a collection or folder.需要连接
Copies or moves requests into a collection or folder.
认证
需要 Connected AccountTags
Transfer responsesPOSTMAN_TRANSFER_RESPONSESCopies or moves responses into a request.需要连接
Copies or moves responses into a request.
认证
需要 Connected AccountTags
Transfer workspace to a teamPOSTMAN_TRANSFER_WORKSPACE_TO_ATEAMTransfers 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.需要连接
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.
认证
需要 Connected AccountTags
Transform collection to OpenAPIPOSTMAN_TRANSFORM_COLLECTION_TO_OPENAPITransforms an existing Postman Collection into a stringified OpenAPI definition. **Note:** This does **not** create an API.需要连接
Transforms an existing Postman Collection into a stringified OpenAPI definition. **Note:** This does **not** create an API.
认证
需要 Connected AccountTags
Unpublish a mock serverPOSTMAN_UNPUBLISH_AMOCK_SERVERUnpublishes a mock server. Unpublishing a mock server sets its **Access Control** configuration setting to private.需要连接
Unpublishes a mock server. Unpublishing a mock server sets its **Access Control** configuration setting to private.
认证
需要 Connected AccountTags
Update a collection's commentPOSTMAN_UPDATE_ACOLLECTION_SCOMMENTUpdates a comment on a collection. **Note:** This endpoint accepts a max of 10,000 characters.需要连接
Updates a comment on a collection. **Note:** This endpoint accepts a max of 10,000 characters.
认证
需要 Connected AccountTags
Update a collection's commentPOSTMAN_UPDATE_ACOLLECTION_SCOMMENT1Updates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a collection's rolesPOSTMAN_UPDATE_ACOLLECTION_SROLESUpdates 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).需要连接
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).
认证
需要 Connected AccountTags
Update a collection's tagsPOSTMAN_UPDATE_ACOLLECTION_STAGSUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a componentPOSTMAN_UPDATE_ACOMPONENTUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a component draftPOSTMAN_UPDATE_ACOMPONENT_DRAFTUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a folderPOSTMAN_UPDATE_AFOLDERUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a folder's commentPOSTMAN_UPDATE_AFOLDER_SCOMMENTUpdates a comment on a folder. **Note:** This endpoint accepts a max of 10,000 characters.需要连接
Updates a comment on a folder. **Note:** This endpoint accepts a max of 10,000 characters.
认证
需要 Connected AccountTags
Update a groupPOSTMAN_UPDATE_AGROUPUpdates a group's information. Using this endpoint you can: - Update a group's name. - Add or remove members from a Postman group.需要连接
Updates a group's information. Using this endpoint you can: - Update a group's name. - Add or remove members from a Postman group.
认证
需要 Connected AccountTags
Update a mock serverPOSTMAN_UPDATE_AMOCK_SERVERUpdates a mock server's properties, such as its name or collection.需要连接
Updates a mock server's properties, such as its name or collection.
认证
需要 Connected AccountTags
Update a monitorPOSTMAN_UPDATE_AMONITORUpdates a monitor.需要连接
Updates a monitor.
认证
需要 Connected AccountTags
Update an APIPOSTMAN_UPDATE_AN_APIUpdates an API.需要连接
Updates an API.
认证
需要 Connected AccountTags
Update an API releasePOSTMAN_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.需要连接
**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.
认证
需要 Connected AccountTags
Update an API's commentPOSTMAN_UPDATE_AN_API_SCOMMENTUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update an API's tagsPOSTMAN_UPDATE_AN_API_STAGSGets 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.需要连接
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.
认证
需要 Connected AccountTags
Update an API versionPOSTMAN_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.需要连接
**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.
认证
需要 Connected AccountTags
Update an element or folderPOSTMAN_UPDATE_AN_ELEMENT_OR_FOLDERUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update an environmentPOSTMAN_UPDATE_AN_ENVIRONMENTUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update an SDK Git connectionPOSTMAN_UPDATE_AN_SDK_GIT_CONNECTIONUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a packagePOSTMAN_UPDATE_APACKAGEUpdates a package's description and/or index script content.需要连接
Updates a package's description and/or index script content.
认证
需要 Connected AccountTags
Update a pull requestPOSTMAN_UPDATE_APULL_REQUESTUpdates an open pull request.需要连接
Updates an open pull request.
认证
需要 Connected AccountTags
Update a requestPOSTMAN_UPDATE_AREQUESTUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a request's commentPOSTMAN_UPDATE_AREQUEST_SCOMMENTUpdates a comment on a request. **Note:** This endpoint accepts a max of 10,000 characters.需要连接
Updates a comment on a request. **Note:** This endpoint accepts a max of 10,000 characters.
认证
需要 Connected AccountTags
Update a responsePOSTMAN_UPDATE_ARESPONSEUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a response's commentPOSTMAN_UPDATE_ARESPONSE_SCOMMENTUpdates a comment on a response. **Note:** This endpoint accepts a max of 10,000 characters.需要连接
Updates a comment on a response. **Note:** This endpoint accepts a max of 10,000 characters.
认证
需要 Connected AccountTags
Update a schemaPOSTMAN_UPDATE_ASCHEMA**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.需要连接
**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.
认证
需要 Connected AccountTags
Update a server responsePOSTMAN_UPDATE_ASERVER_RESPONSEUpdates a mock server's server response.需要连接
Updates a mock server's server response.
认证
需要 Connected AccountTags
Update a spec filePOSTMAN_UPDATE_ASPEC_FILEUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a spec's propertiesPOSTMAN_UPDATE_ASPEC_SPROPERTIESUpdates an API specification's properties, such as its name.需要连接
Updates an API specification's properties, such as its name.
认证
需要 Connected AccountTags
Update a system environmentPOSTMAN_UPDATE_ASYSTEM_ENVIRONMENTUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a userPOSTMAN_UPDATE_AUSERUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a userPOSTMAN_UPDATE_AUSER1Updates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a versionPOSTMAN_UPDATE_AVERSIONUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a workspacePOSTMAN_UPDATE_AWORKSPACEUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a workspace's tagsPOSTMAN_UPDATE_AWORKSPACE_STAGSUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update a workspace updatePOSTMAN_UPDATE_AWORKSPACE_UPDATEUpdates a workspace update. **Note:** This endpoint requires the `application/merge-patch+json` Content-Type header.需要连接
Updates a workspace update. **Note:** This endpoint requires the `application/merge-patch+json` Content-Type header.
认证
需要 Connected AccountTags
Update detected secret resolution statusPOSTMAN_UPDATE_DETECTED_SECRET_RESOLUTION_STATUSUpdates the resolution status of a secret detected in a workspace.需要连接
Updates the resolution status of a secret detected in a workspace.
认证
需要 Connected AccountTags
Update global variablesPOSTMAN_UPDATE_GLOBAL_VARIABLESUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update part of a collectionPOSTMAN_UPDATE_PART_OF_ACOLLECTIONUpdates 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.需要连接
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.
认证
需要 Connected AccountTags
Update spec sync optionsPOSTMAN_UPDATE_SPEC_SYNC_OPTIONSUpdates the [sync options](https://learning.postman.com/docs/design-apis/specifications/generate-collections/#configure-sync-settings) for a specification's generated collection.需要连接
Updates the [sync options](https://learning.postman.com/docs/design-apis/specifications/generate-collections/#configure-sync-settings) for a specification's generated collection.
认证
需要 Connected AccountTags
Update team settingsPOSTMAN_UPDATE_TEAM_SETTINGSUpdates a team's settings.需要连接
Updates a team's settings.
认证
需要 Connected AccountTags
Update workspace rolesPOSTMAN_UPDATE_WORKSPACE_ROLESUpdates 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.需要连接
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.
认证
需要 Connected AccountTags