Skip to navigation

Postman

Connect your AI agents to Postman.
Ready to connect

Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.

Authentication: API key, for a Postman team hosted in the US or EU data region. See Magic Link for the runtime auth flow.

Some operations require an Enterprise plan or the Advanced Security add-on.

Sample use cases

  • List every request in the Payments API collection that has no saved example response
  • Fork the Staging environment, point base_url at https://staging.acme.com, and merge it back after review
  • Show which monitors in the Checkout workspace failed their last run, then rerun them

Available Tools

add_catalog_discovered_services

Add up to 20 discovered services to the API Catalog.

add_catalog_system_env_associations

Adds workspace-environment associations to a system environment.

add_workspace_to_private_network

Publishes a workspace in your team’s Private API Network.

create_access_request

Creates an access request for a team. Access requests include actions such as request to join a team, upgrading a user’s role, adding members, and requesting team role access to another team.

create_catalog_system_env

Creates a system environment for the authenticated team. Postman’s API defines no delete or inverse for this.

create_collection

Creates a collection using the Postman Collection v2.1.0 schema format. Find IDs with list_workspaces.

create_collection_comment

Creates a comment on a collection. To create a reply on an existing comment, include the threadId property in the request body.

create_collection_folder

Creates a collection folder. Set name and optionally folder (the parent folder ID); omitting name creates a blank name.

create_collection_fork

Creates a fork from an existing collection into a workspace.

create_collection_pull_request

Creates a pull request for a forked collection into its parent collection.

create_collection_request

Creates a collection request. Set name, method and url; optionally folder, header_data, query_params, data_mode, raw_mode_data, auth and events.

create_collection_response

Creates a saved response for request (the parent request ID).

create_component

Creates a new component. The component is created in an active state with an initial draft.

create_component_version

Publishes a new version of a component from the current draft.

create_custom_function

Creates a new custom function for the team.

create_environment

Creates an environment. Note: The request body size cannot exceed the maximum allowed size of 30MB.

create_folder_comment

Creates a comment on a folder. To create a reply on an existing comment, include the threadId property in the request body.

create_governance_group

Creates a custom governance group for the team.

create_mock

Creates a mock server in a collection. Note: You cannot create mocks for collections added to an API definition.

create_mock_server_response

Creates a server response. Server responses let you simulate 5xx server-level responses, such as 500 or 503.

create_monitor

Creates a monitor. Note: You cannot create monitors for collections added to an API definition.

create_package

Creates a package and its index script as a Postman Package Library resource. Find IDs with list_workspaces.

create_request_comment

Creates a comment on a request. To create a reply on an existing comment, include the threadId property in the request body.

create_response_comment

Creates a comment on a response. To create a reply on an existing comment, include the threadId property in the request body.

create_ruleset

Creates a new ruleset for the team.

create_ruleset_assignment

Assigns a ruleset to a governance group. Find IDs with list_rulesets, list_governance_groups.

create_sdk

Creates an asynchronous generation job for a single SDK (in one language) from a collection or specification.

create_sdk_git_connection

Connects a Postman source element (collection or specification) to a Git repository for one SDK language.

create_spec

Creates an API specification in Postman’s Spec Hub.

create_spec_file

Creates a file for an OpenAPI or a protobuf 2 or 3 specification.

create_spec_version_tag

Creates a version tag for a specification.

create_team

Creates a Postman team in your organization. Postman’s API defines no delete or inverse for this.

create_webhook

Creates a webhook that triggers a collection with a custom payload.

create_workspace

Creates a new workspace. Note: This tool returns a 403 Forbidden response if the user does not have permission to create workspaces.

create_workspace_update

Creates a workspace update in the given workspace.

delete_collection

Deletes a collection. Find IDs with list_collections.

delete_collection_access_key

Deletes a collection access key. To get a collection access key’s ID, call list_collection_access_keys.

delete_collection_comment

Deletes a comment from a collection. On success, this returns an HTTP 204 No Content response.

delete_collection_folder

Deletes a folder in a collection. Find IDs with get_collection, list_collections.

delete_collection_request

Deletes a request in a collection. Find IDs with get_collection, list_collections.

delete_collection_response

Deletes a response in a collection. Find IDs with list_collections.

delete_custom_function

Deletes a custom function. On success, this returns a 204 No Content response. Find IDs with list_custom_functions.

delete_environment

Deletes an environment. Find IDs with list_environments.

delete_folder_comment

Deletes a comment from a folder. On success, this returns an HTTP 204 No Content response.

delete_governance_group

Deletes a governance group. This also removes the group’s workspace assignments and any ruleset assignments targeting the group.

delete_mock

Deletes a mock server. Find IDs with list_mocks.

delete_mock_server_response

Deletes a mock server’s server response. Find IDs with list_mocks, list_mock_server_responses.

delete_monitor

Deletes a monitor. Find IDs with list_monitors.

delete_package

Deletes the package and its associated index script content.

delete_request_comment

Deletes a comment from a request. On success, this returns an HTTP 204 No Content response.

delete_response_comment

Deletes a comment from a response. On success, this returns an HTTP 204 No Content response.

delete_ruleset

Deletes a ruleset. On success, this returns an HTTP 204 No Content response.

delete_ruleset_assignment

Unassigns a ruleset from a governance group. Find IDs with list_rulesets, list_ruleset_assignments.

delete_sdk

Deletes an SDK record and its stored archive.

delete_spec

Deletes an API specification. On success, this returns an HTTP 204 No Content response. Find IDs with list_specs.

delete_spec_file

Deletes a file in an API specification. On success, this returns an HTTP 204 No Content response.

delete_workspace

Deletes an existing workspace. Find IDs with list_workspaces.

delete_workspace_update

Deletes a workspace update. On success, this returns an HTTP 204 No Content response.

duplicate_collection

Creates a duplicate of the given collection in another workspace.

fork_environment

Creates a fork of an existing environment.

generate_collection

Creates a collection from the given OpenAPI 2.0, 3.0, or 3.1 specification or Smithy specification.

generate_spec_from_collection

Generates an OpenAPI 2.0, 3.0, or 3.1 specification for the given collection.

get_analytics_data

Gets analytics data based on the specified resource, metrics, and given filters for team, internal, and public workspaces, as well as Partner Workspaces.

get_analytics_metadata

Returns a catalog of analytics resources and their corresponding metrics for use with get_analytics_data.

get_catalog_discovered_service

Get a discovered service, including its API definition (decoded to text) and endpoints.

get_catalog_service

Gets information about a service, including its health, traffic, compliance, ownership, and dependencies.

get_catalog_system_env

Gets information about a system environment. Find IDs with list_catalog_system_envs.

get_collection

Get a collection.

get_collection_folder

Gets information about a folder in a collection. Find IDs with get_collection, list_collections.

get_collection_merge_task_status

Gets the status of a collection’s merge or a pull changes task.

get_collection_request

Gets information about a request in a collection. Find IDs with get_collection, list_collections.

get_collection_response

Gets information about a response in a collection. Find IDs with list_collections.

get_collection_roles

Gets information about all roles in a collection.

get_collection_tags

Gets all the tags associated with a collection. Find IDs with list_collections.

get_collection_update_task_status

Gets the status of an asynchronous collection update task.

get_component

Gets information about a component. Use the include and expand query parameters to return additional information, such as hasVersions and the latest published version.

get_component_draft

Gets information about the current working draft of a component, including its content and format.

get_component_version

Gets a published version of a component. Find IDs with list_components, list_component_versions.

get_context_graph_ask

Gets a submitted ask’s status and, once the ask completes, its result.

get_custom_function

Gets information about a custom function.

get_duplicate_collection_task_status

Gets the status of a collection duplication task. Find IDs with duplicate_collection.

get_environment

Gets information about an environment. Find IDs with list_environments.

get_group

Gets information about a Postman user group. Find IDs with list_groups.

get_me

Gets information about the authenticated user.

get_mock

Gets information about a mock server. Find IDs with list_mocks.

get_mock_server_response

Gets information about a server response. Find IDs with list_mocks, list_mock_server_responses.

get_monitor

Gets information about a monitor. Find IDs with list_monitors.

get_package

Gets an active package’s metadata and its current index script content. Find IDs with list_packages.

get_pull_request

Gets information about a pull request, such as the source and destination details, who reviewed the pull request, the merge’s current status, and whether the element is accessible.

get_ruleset

Gets information about a ruleset. By default, the response only returns the ruleset’s metadata.

get_sdk

Returns information about the SDK, including the current build job status. Find IDs with list_sdks.

get_sdk_download_url

Gets a short-lived signed URL for the generated SDK archive (zip).

get_sdk_git_connection

Gets information about an SDK’s Git connection.

get_source_collection_status

Checks whether there is a change between the forked collection and its parent (source) collection.

get_spec

Gets information about an API specification. Find IDs with list_specs.

get_spec_definition

Gets the complete contents of an OpenAPI or AsyncAPI specification’s definition.

get_spec_file

Gets the contents of an API specification’s file. Find IDs with list_specs, list_spec_files.

get_spec_migration_status

Returns the status of an API Builder definition’s migration to Spec Hub.

get_spec_task_status

Gets the status of an asynchronous API specification creation task.

get_spec_version_tag

Gets information about a specification’s version tag.

get_tagged_entities

Gets Postman elements (entities) by a given tag.

get_team

Gets information about a Postman team. Find IDs with list_teams.

get_team_settings

Gets a team’s settings. Find IDs with list_teams.

get_user

Gets information about a user on the Postman team. Find IDs with list_users.

get_workspace

Gets information about a workspace. Note: This tool’s response contains the visibility field.

get_workspace_global_variables

Gets a workspace’s global variables. Global variables enable you to access data between collections, requests, scripts, and environments and are available throughout a workspace.

get_workspace_roles

Gets the roles of users, user groups, and partners in a workspace.

get_workspace_tags

Gets all the tags associated with a workspace. Find IDs with list_workspaces.

get_workspace_update

Gets information about a workspace update. Find IDs with list_workspaces, list_workspace_updates.

import_openapi

Imports an OpenAPI definition into Postman as a new Postman Collection.

list_audit_log_actions

Gets a complete list of all available audit log event actions.

list_audit_logs

Gets a page of your team’s audit events.

list_catalog_discovered_services

Gets a list of all discovered services in the API Catalog. Paginate with page_info.next_cursor.

list_catalog_service_ci_runs

Gets a paginated list of CI collection runs for a service that includes summary statistics, pipeline details, and Git metadata.

list_catalog_service_endpoints

Get a list of observed API endpoints for a service and its performance metrics.

list_catalog_service_monitor_runs

Gets a list of scheduled monitor runs for a service that includes summary statistics.

list_catalog_service_spec_lints

Gets a list of API specification lint runs for a service that includes summary statistics and per-severity issue counts.

list_catalog_services

Gets a list of services in a system environment.

list_catalog_system_env_associations

Gets the workspace-environment associations for a system environment.

list_catalog_system_envs

Gets all of the authenticated team’s system environments. Paginate with page_info.next_cursor.

list_collection_access_keys

Gets the authenticated user’s personal and team collection access keys.

list_collection_comments

Gets all comments left by users in a collection. Find IDs with list_collections.

list_collection_forks

Gets a collection’s forked collections. The response returns data for each fork, such as the fork’s ID, the user who forked it, and the fork’s creation date.

list_collection_generated_specs

Gets the API specification generated for the given collection. Find IDs with list_collections.

list_collection_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.

list_collections

List collections, optionally only one workspace’s or by name match.

list_component_versions

Gets a list of a component’s published versions. Find IDs with list_components.

list_components

Gets a list of all components in the team’s component library.

list_custom_functions

Gets a list of the team’s custom functions.

list_detected_secret_locations

Gets the locations of secrets detected by Postman’s Secret Scanner.

list_environment_forks

Gets all of an environment’s forked environments. Paginate with page_info.next_cursor. Find IDs with list_environments.

list_environments

List environments, optionally in one workspace. Use get_environment for an environment’s variables.

list_folder_comments

Gets all comments left by users in a folder. Find IDs with list_collections, get_collection.

list_forked_collections

Gets a list of all the authenticated user’s forked collections. Paginate with page_info.next_cursor.

list_governance_group_assignments

Gets the rulesets assigned to a governance group. Find IDs with list_governance_groups.

list_governance_group_workspaces

Gets all workspaces assigned to the governance group.

list_governance_groups

Gets a list of the team’s governance groups. Paginate with page_info.next_cursor.

list_groups

Gets all of a team’s Postman groups.

list_mock_call_logs

Gets a mock server’s call logs. You can get a maximum of 6.5MB of call logs or a total of 100 call logs, whichever limit is met first in one API call.

list_mock_server_responses

Gets all of a mock server’s server responses. Find IDs with list_mocks.

list_mocks

Gets all active mock servers. By default, this tool returns only mock servers you created across all workspaces.

list_monitors

Gets all monitors. Paginate with page_info.next_cursor.

list_packages

Gets all active packages available to the authenticated user.

list_private_network_add_requests

Gets all requests to add workspaces to your team’s Private API Network. Paginate with page_info.next_offset.

list_private_network_workspaces

Gets information workspaces added to your team’s Private API Network. Paginate with page_info.next_offset.

list_request_comments

Gets all comments left by users in a request. Find IDs with list_collections, get_collection.

list_response_comments

Gets all comments left by users in a response. Find IDs with list_collections.

list_ruleset_assignments

Gets a ruleset’s governance group assignments. Find IDs with list_rulesets.

list_rulesets

Gets a list of the team’s rulesets. The response includes both team-owned rulesets (custom) and Postman-managed system rulesets (system).

list_sdk_git_connection_prs

Lists all SDK update pull requests for the Git connection, in order of newest first by its updatedAt property.

list_sdk_git_connections

Gets all Git repository connections the authenticated user has access to in the given workspace.

list_sdks

Lists all SDKs the authenticated user has access to.

list_secret_types

Gets the metadata of the secret types supported by Postman’s Secret Scanner.

list_spec_files

Gets all the files in an API specification. Find IDs with list_specs.

list_spec_generated_collections

Gets all of an API specification’s generated collections. Paginate with page_info.next_cursor. Find IDs with list_specs.

list_spec_version_tags

Gets a list of a specification’s version tags. Paginate with page_info.next_cursor. Find IDs with list_specs.

list_specs

Gets all API specifications in a workspace. Paginate with page_info.next_cursor. Find IDs with list_workspaces.

list_team_access_requests

Gets a team’s pending access requests. Paginate with page_info.next_cursor. Find IDs with list_teams.

list_teams

Gets all Postman teams in your organization. Paginate with page_info.next_cursor.

list_users

Gets information about all users on the Postman team.

list_workspace_activities

Gets a workspace’s activity feed. Activity feeds return information about who added or removed collections, environments, or elements from a workspace, and users that join or leave a workspace.

list_workspace_role_types

List the workspace roles available on the team’s plan. Use the role IDs with update_workspace_roles.

list_workspace_updates

Gets a list of workspace updates for the given workspace.

list_workspaces

List the workspaces you can access, filtered by type, creator or the element they contain.

manage_partner_workspace_invites

Invite partners to a Partner Workspace by email (action ‘invite_partner’, with roleId and target.emails) or remove partner users or teams (action ‘remove_partner’, target.userIds).

manage_team_member_roles

Adds or removes member roles in groups, teams, organizations, as well as individual users’ roles.

merge_environment_fork

Merges a forked environment back into its parent environment. Find IDs with list_environments, list_environment_forks.

migrate_api_to_spec

Migrates an API Builder definition to a Spec Hub specification.

publish_documentation

Publishes a collection’s documentation. This makes it publicly available to anyone with the link to the documentation.

publish_mock

Publishes a mock server. Publishing a mock server sets its Access Control configuration setting to public.

pull_collection_changes

Pulls the changes from a parent (source) collection into the forked collection.

pull_environment

Pulls the changes from a parent (source) environment into the forked environment.

remove_catalog_system_env_associations

Removes workspace-environment associations from a system environment.

remove_team_members

Removes entities, such as users or organizations, from your Postman team.

remove_workspace_from_private_network

Removes a workspace from your team’s Private API Network.

replace_collection

Replaces the entire collection; omitted content is removed.

replace_environment

Replaces the entire environment; omitted content is removed.

resolve_comment_thread

Resolves a comment and any associated replies.

respond_access_request

Approve or deny a team’s access request. Find IDs with list_teams, list_team_access_requests.

respond_private_network_add_request

Responds to a user’s request to add a workspace to your team’s Private API Network.

review_pull_request

Updates the review status of a pull request. Find IDs with list_collection_pull_requests.

run_monitor

Starts a monitor run. Defaults to run_async=true, so stats, executions and failures are omitted.

search_detected_secrets

Returns all secrets detected by Postman’s Secret Scanner, grouped by workspace or resource.

search_elements

Search Postman for workspaces, collections, requests and other elements by text, with ownership, visibility and tag filters.

submit_context_graph_ask

Submits a natural-language question about your team’s Context Graph.

sync_collection_with_spec

Syncs a collection generated from an API specification.

sync_spec_with_collection

Syncs an API specification linked to a collection.

transfer_collection_folders

Copies or moves folders into a collection or folder. Find IDs with get_collection, list_collections.

transfer_collection_requests

Copies or moves requests into a collection or folder. Find IDs with get_collection, list_collections.

transfer_collection_responses

Copies or moves responses into a request. Find IDs with get_collection.

transfer_workspace_element

Transfers a Postman element from one workspace to another workspace.

transfer_workspace_to_team

Transfers a workspace from one team (source) to another team (destination).

unpublish_documentation

Unpublishes a collection’s documentation.

unpublish_mock

Unpublishes a mock server. Unpublishing a mock server sets its Access Control configuration setting to private.

update_catalog_system_env

Updates a system environment’s information.

update_collection

Partially updates collection metadata: info.name, event or variable.

update_collection_comment

Updates a comment on a collection. Note: This tool accepts a max of 10,000 characters.

update_collection_folder

Updates a collection folder’s name or description.

update_collection_request

Updates a collection request’s name, description, method, url, header_data, query_params, body (data_mode/raw_mode_data), auth or events.

update_collection_response

Updates a saved response’s name, description, response_code, status, headers or text (response body).

update_collection_roles

Updates the roles of users, groups, or teams in a collection.

update_collection_tags

Updates a collection’s associated tags. This tool replaces all existing tags with those you pass in the request body.

update_component

Updates a component: name — Rename the component.

update_component_draft

Updates a component’s draft. Component drafts contain unpublished edits to a component, which may be different from a recently published version.

update_custom_function

Updates a custom function. Only the fields present in the request body are updated.

update_detected_secret_resolutions

Updates the resolution status of a secret detected in a workspace.

update_environment

Partially updates environment name or variables, preserving omitted properties.

update_folder_comment

Updates a comment on a folder. Note: This tool accepts a max of 10,000 characters.

update_governance_group

Updates a governance group’s name or description.

update_governance_group_workspaces

Assigns workspaces to and unassigns workspaces from a governance group.

update_mock

Updates a mock server’s properties, such as its name or collection.

update_mock_server_response

Updates a server response. Find IDs with list_mocks, list_mock_server_responses.

update_monitor

Updates a monitor’s configurations. Find IDs with list_monitors.

update_package

Updates a package’s description and/or index script content. Find IDs with list_packages.

update_pull_request

Updates an open pull request. Find IDs with list_collection_pull_requests, list_users.

update_request_comment

Updates a comment on a request. Note: This tool accepts a max of 10,000 characters.

update_response_comment

Updates a comment on a response. Note: This tool accepts a max of 10,000 characters.

update_ruleset

Updates a ruleset. Only the fields present in the request body are updated.

update_sdk_git_connection

Updates the Git connection’s lifecycle status: active — Connects or reconnects the repository.

update_spec_file

Updates a file for an OpenAPI or protobuf 2 or 3 specification.

update_spec_properties

Updates an API specification’s properties, such as its name. Find IDs with list_specs.

update_spec_sync_options

Updates the sync options for a specification’s generated collection.

update_team

Updates a Postman team’s name in your organization.

update_team_settings

Updates a team’s settings. Find IDs with list_teams.

update_workspace

Updates a workspace’s property, such as its name or visibility. Find IDs with list_workspaces.

update_workspace_global_variables

Updates and replaces a workspace’s global variables.

update_workspace_roles

Updates the roles of users, user groups, or partners in a workspace.

update_workspace_tags

Updates a workspace’s associated tags. This tool replaces all existing tags with those you pass in the request body.

update_workspace_update

Updates a workspace update. Note: This tool requires the application/merge-patch+json Content-Type header.

merge_collection_fork

Merges a forked (source) collection and its parent (destination) collection asynchronously.