postman

v1.0.2
com.mcparmory/postman Checked 3 days ago Published 6 months ago

Create, organize, and manage API collections, specifications, and team workspaces

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_apis List APIs

Retrieve all APIs in a workspace with optional filtering by metadata, timestamps, privacy state, and text search. Results can be sorted by any response field in ascending or descending order.

ParameterTypeDescription
createdBystringFilter results to APIs created by a specific user. Provide the user ID.
descriptionstringFilter results to APIs whose description contains this value. Matching is case-insensitive.
directionstringSet sort order to ascending (asc) or descending (desc). Defaults to descending for timestamps and numeric fields, ascending otherwise.
isPublicstringFilter results by privacy state: use true for public APIs or false for private APIs.
namestringFilter results to APIs whose name contains this value. Matching is case-insensitive.
sincestringFilter results to APIs updated on or after this timestamp. Use ISO 8601 date-time format.
sortstringSort results by a specific field name from the response. Combine with direction parameter to control sort order.
summarystringFilter results to APIs whose summary contains this value. Matching is case-insensitive.
untilstringFilter results to APIs updated on or before this timestamp. Use ISO 8601 date-time format.
updatedBystringFilter results to APIs last updated by a specific user. Provide the user ID.
workspacestringFilter results to APIs within a specific workspace. Provide the workspace ID to scope the query.

create_api Create API

Creates a new API with a default API Version. The request must include an `api` object with at least a `name` property, and returns the created API with full details including id, name, summary, and description.

ParameterTypeDescription
descriptionstringA detailed description of the API's purpose and functionality.
namestringThe name of the API. This is a required field and must be provided in the request body.
summarystringA short summary of the API's purpose. Should be concise and suitable for display in API listings.
workspacestringThe workspace ID where the API will be created. If not specified, the API is created in the default workspace.

get_api Get API

Retrieve detailed information about a specific API by its ID, including metadata such as name, summary, and description.

ParameterTypeDescription
apiId *stringThe unique identifier of the API to retrieve.

update_api Update API

Update an existing API by modifying its name, summary, or description. Returns the complete updated API object with all current details.

ParameterTypeDescription
apiId *stringThe unique identifier of the API to update.
descriptionstringThe updated description for the API. Provide a clear, concise explanation of what the API does.
namestringThe updated name for the API. Use a descriptive title that identifies the API's purpose.

delete_api Delete API

Permanently deletes an API by its ID. Returns the deleted API object with its ID for confirmation.

ParameterTypeDescription
apiId *stringThe unique identifier of the API to delete.

list_api_versions List API Versions

Retrieve all versions of a specified API, including detailed metadata for each version.

ParameterTypeDescription
apiId *stringThe unique identifier of the API for which to retrieve all versions.

create_api_version Create API Version

Creates a new API version within the specified API. Optionally copies schema and related resources (mocks, monitors, documentation, tests, etc.) from an existing API version.

ParameterTypeDescription
apiId *stringThe unique identifier of the API in which to create the new version.
documentationbooleanWhen true, copies the API schema (specification/definition) from the source API version to the new version.
idstringThe unique identifier of an existing API version to copy configuration and resources from. When specified, the new version will inherit selected schema and relations from this source version.
mockbooleanWhen true, copies mock server configurations from the source API version to the new version.
monitorbooleanWhen true, copies monitoring configurations from the source API version to the new version.
namestringThe name for the new API version (e.g., '1.0', '2.0-beta'). Required when creating a version from scratch.

get_api_version Get API Version

Retrieve detailed information about a specific API version, including its configuration and metadata.

ParameterTypeDescription
apiId *stringThe unique identifier of the API containing the version to retrieve.
apiVersionId *stringThe unique identifier of the specific API version to fetch.

update_api_version Update API Version

Update the name of an existing API version. Provide the API ID and version ID, along with the new name in the request body.

ParameterTypeDescription
apiId *stringThe unique identifier of the API containing the version to update.
apiVersionId *stringThe unique identifier of the API version to update.
namestringThe new name for the API version (e.g., '2.0'). This is the only field that can be updated.

delete_api_version Delete API Version

Permanently deletes a specific API version. Returns the id of the deleted API version.

ParameterTypeDescription
apiId *stringThe unique identifier of the API containing the version to delete.
apiVersionId *stringThe unique identifier of the API version to delete.

list_contract_test_relations List Contract Test Relations

Retrieves all contract test relations linked to a specific API version, organized by relation type with complete details for each relation.

ParameterTypeDescription
apiId *stringThe unique identifier of the API for which to fetch contract test relations.
apiVersionId *stringThe unique identifier of the specific API version for which to fetch contract test relations.

get_documentation_relations Get Documentation Relations

Retrieves all documentation relations linked to a specific API version, organized by relation type with complete details for each relation.

ParameterTypeDescription
apiId *stringThe unique identifier of the API for which to fetch documentation relations.
apiVersionId *stringThe unique identifier of the API version for which to fetch documentation relations.

get_environment_relations_for_api_version Get Environment Relations for API Version

Retrieves all environment relations linked to a specific API version, organized by relation type with complete details for each relation.

ParameterTypeDescription
apiId *stringThe unique identifier of the API for which to retrieve environment relations.
apiVersionId *stringThe unique identifier of the specific API version for which to retrieve environment relations.

list_integration_test_relations List Integration Test Relations

Retrieves all integration test relations linked to a specific API version, organized by relation type with complete details for each relation.

ParameterTypeDescription
apiId *stringThe unique identifier of the API for which to fetch integration test relations.
apiVersionId *stringThe unique identifier of the API version for which to fetch integration test relations.

list_monitor_relations List Monitor Relations

Retrieves all monitor relations linked to a specific API version, organized by relation type with complete details for each relation.

ParameterTypeDescription
apiId *stringThe unique identifier of the API.
apiVersionId *stringThe unique identifier of the API version for which to fetch monitor relations.

list_linked_relations List Linked Relations

Retrieve all relations linked to a specific API version, including detailed information about each relation type and its associated relations.

ParameterTypeDescription
apiId *stringThe unique identifier of the API for which to retrieve linked relations.
apiVersionId *stringThe unique identifier of the API version for which to retrieve linked relations.

add_relations_to_api_version Add Relations to API Version

Link existing Postman entities (collections, environments, mocks, monitors) to an API version as relations. Specify which entity types to associate by providing their corresponding UIDs or IDs in the request body.

ParameterTypeDescription
apiId *stringThe unique identifier of the API to which relations will be added.
apiVersionId *stringThe unique identifier of the API version to which relations will be added.
contracttestarrayArray of Collection UIDs to associate as contract tests with this API version.
documentationarrayArray of Collection UIDs to associate as documentation with this API version.
mockarrayArray of Mock IDs to associate with this API version.
testsuitearrayArray of Collection UIDs to associate as test suites with this API version.

create_schema Create Schema

Creates a new schema for an API version. The schema can be defined in OpenAPI (v1, v2, v3), RAML, or GraphQL format with corresponding language specification.

ParameterTypeDescription
apiId *stringThe unique identifier of the API to which the schema will be added.
apiVersionId *stringThe unique identifier of the API version under which the schema will be created.
languagestringThe schema language format. Use 'json' or 'yaml' for OpenAPI and RAML schemas; use 'graphql' exclusively for GraphQL schemas.
typestringThe schema type specification. Supported types are 'openapi3', 'openapi2', 'openapi1', 'raml', and 'graphql'.

get_schema Get Schema

Retrieves a single schema by its ID. Returns a schema object containing metadata including id, language, type, and schema definition.

ParameterTypeDescription
apiId *stringThe unique identifier of the API containing the schema.
apiVersionId *stringThe unique identifier of the API version containing the schema.
schemaId *stringThe unique identifier of the schema to retrieve.

update_schema Update Schema

Update an existing API schema by replacing its content and metadata. Supports OpenAPI (v1, v2, v3), RAML, and GraphQL schema types in their respective formats.

ParameterTypeDescription
apiId *stringThe unique identifier of the API containing the schema to update.
apiVersionId *stringThe unique identifier of the API version containing the schema to update.
schemaId *stringThe unique identifier of the schema to update.
languagestringThe schema language format. Use `json` or `yaml` for OpenAPI and RAML schemas; use `graphql` for GraphQL schemas.
typestringThe schema type being updated. Allowed values are `openapi3`, `openapi2`, `openapi1`, `raml`, or `graphql`.

create_collection_from_schema Create Collection From Schema

Create a new collection linked to an API schema with one or more relation types (contract test, integration test, test suite, or documentation). The collection serves as an organizational container for API-related artifacts.

ParameterTypeDescription
apiId *stringThe unique identifier of the API to which the collection will be linked.
apiVersionId *stringThe unique identifier of the API version to which the collection will be linked.
schemaId *stringThe unique identifier of the schema from which the collection will be created.
namestringThe display name for the new collection. This is a human-readable identifier for organizing and referencing the collection.
relationsarrayAn array of relation types to associate with the collection. Valid relation types are: contracttest, integrationtest, testsuite, and documentation. At least one relation type should be specified to de…
workspacestringThe workspace ID where the collection will be created. Use the workspace identifier to scope the collection to a specific workspace context.

list_test_suite_relations List Test Suite Relations

Retrieves all test suite relations linked to a specific API version, organized by relation type with complete details for each relation.

ParameterTypeDescription
apiId *stringThe unique identifier of the API for which to retrieve test suite relations.
apiVersionId *stringThe unique identifier of the API version for which to retrieve test suite relations.

sync_relation_with_schema Sync Relation with Schema

Synchronize a relation (such as documentation, contract test, or monitor) with the current API schema to ensure consistency and alignment with schema changes.

ParameterTypeDescription
apiId *stringThe unique identifier of the API containing the relation to synchronize.
apiVersionId *stringThe unique identifier of the specific API version whose schema will be used for synchronization.
entityId *stringThe unique identifier of the specific relation instance to synchronize with the schema.
entityType *stringThe type of relation to sync, such as documentation, contracttest, integrationtest, testsuite, mock, or monitor.

list_collections List Collections

Retrieve all collections accessible to you, including your own collections and those you have subscribed to. Each collection includes its name, ID, owner, and UID.

create_collection Create Collection

Create a new Postman collection in Postman Collection v2 format. Returns the created collection's name, ID, and UID. Optionally specify a workspace via query parameter to create the collection in a specific workspace.

ParameterTypeDescription
descriptionstringA descriptive label for the collection (e.g., 'This is just a sample collection.'). Helps identify the collection's purpose.
itemarrayAn array of request items to include in the collection. Items define the API requests and folder structure within the collection.
namestringThe name of the collection. Supports dynamic variables like {{$randomInt}} for generating unique names.
schemastring

create_fork_of_collection Create Fork of Collection

Create a fork of an existing collection. The response includes the forked collection's name, ID, UID, and fork metadata. You can optionally specify a target workspace for the fork. Note: The fork is created with a default label 'Forked Collection' (Postman v10 API requires 'label', and the schema-declared 'name' field is rejected).

ParameterTypeDescription
collection_uid *stringThe unique identifier of the collection to fork.
workspacestringThe ID of the workspace where the forked collection should be created. If not specified, the fork will be created in the default workspace.

merge_fork_to_collection Merge Fork to Collection

Merge a forked collection back into its destination collection. Optionally specify a merge strategy to control whether the source fork is deleted or updated with destination changes after the merge.

ParameterTypeDescription
destinationstringThe UID of the destination collection where the fork will be merged into. Required for the merge operation.
sourcestringThe UID of the forked collection to merge. This is the source collection that will be merged into the destination.
strategystringThe merge strategy to apply: `deleteSource` removes the forked collection after merging, or `updateSourceWithDestination` syncs the forked collection with any changes made to the destination. Defaults…

get_collection Get Collection

Retrieve the full contents of a specific collection by its unique identifier. You must have access permissions to the collection to retrieve it.

ParameterTypeDescription
collection_uid *stringThe unique identifier (uid) of the collection to retrieve. This is a required string value that uniquely identifies the collection within the system.

update_collection Update Collection

Replace an existing collection with updated content in Postman Collection v2 format. Returns the updated collection's name, id, and uid. Requires API Key authentication.

ParameterTypeDescription
collection_uid *stringThe unique identifier of the collection to update. This is a required path parameter that specifies which collection will be replaced.
descriptionstringA text description of the collection's purpose and contents. Supports dynamic variables in the format.
itemarrayAn array of request items and folders that comprise the collection. Items are processed in the order provided and define the collection's structure and endpoints.
namestringThe display name of the collection. Supports dynamic variables (e.g., {{$randomInt}}) for generating unique names.
postman_idstringThe Postman internal identifier for the collection, typically a UUID format. Used to maintain collection identity across systems.
schemastring

delete_collection Delete Collection

Permanently delete a collection by its unique identifier. Returns the deleted collection's id and uid upon successful deletion.

ParameterTypeDescription
collection_uid *stringThe unique identifier of the collection to delete. This identifier is required to specify which collection should be removed.

list_environments List Environments

Retrieve a list of all environments you own, including their names, IDs, owners, and UIDs. Requires API Key authentication.

create_environment Create Environment

Create a new environment with configuration variables. Optionally specify a workspace context via query parameter. Returns the created environment's name and unique identifier.

ParameterTypeDescription
namestringThe name of the environment to create. Must be between 1 and 254 characters long.
valuesarrayAn array of environment variables to initialize with the environment. Each variable must have a key and value; the enabled flag is optional. Up to 100 variables can be specified per environment.

get_environment Get Environment

Retrieve the full contents of a specific environment by its unique identifier. This operation requires authentication via API Key.

ParameterTypeDescription
environment_uid *stringThe unique identifier of the environment to retrieve. This is a required string value that identifies which environment's contents to access.

update_environment Update Environment

Replace an existing environment with updated configuration. Specify the environment to modify by its unique identifier and provide the new environment name and variable values.

ParameterTypeDescription
environment_uid *stringThe unique identifier of the environment to update.
namestringThe new name for the environment. Must be between 1 and 254 characters.
valuesarrayAn array of environment variables (up to 100 items). Each variable must have a key and value (both 1-254 characters), and may optionally include a type and enabled status. Variables are applied in the…

delete_environment Delete Environment

Permanently delete a single environment by its unique identifier. This action cannot be undone.

ParameterTypeDescription
environment_uid *stringThe unique identifier of the environment to delete. This is a required string value that uniquely identifies the environment within the system.

get_authenticated_user Get Authenticated User

Retrieve detailed information about the authenticated user, including username, full name, email address, and other profile data. Requires API Key authentication via X-Api-Key header or apikey query parameter.

list_mocks List Mocks

Retrieve all mocks you have created. Returns a complete list of your mock configurations for managing and testing API responses.

create_mock Create Mock

Create a mock server for a collection, optionally resolving environment variables. You can specify a workspace context via query parameter to determine where the mock is created.

ParameterTypeDescription
collectionstringThe unique identifier of the collection for which to create the mock. Format is a UUID string.
environmentstringThe unique identifier of an environment to use for resolving variables within the collection. Format is a UUID string. If provided, environment variables will be substituted in the mock.

get_mock Get Mock

Retrieve detailed information about a specific mock by its unique identifier. Requires API Key authentication via X-Api-Key header or apikey query parameter.

ParameterTypeDescription
mock_uid *stringThe unique identifier of the mock to retrieve. This is a required string value that uniquely identifies the mock resource.

update_mock Update Mock

Update an existing mock server by its unique identifier. Modify properties such as name, description, environment, privacy settings, and version tag.

ParameterTypeDescription
mock_uid *stringThe unique identifier of the mock server to update.
descriptionstringA descriptive text explaining the purpose or details of the mock server.
environmentstringThe unique identifier of the environment where this mock server operates.
namestringA human-readable name for the mock server.
privatebooleanWhether the mock server is private (true) or publicly accessible (false).
versionTagstringThe unique identifier of the version tag associated with this mock server.

delete_mock Delete Mock

Permanently delete an existing mock by its unique identifier. This operation removes the mock and all associated data.

ParameterTypeDescription
mock_uid *stringThe unique identifier of the mock to delete. This is a required string value that identifies which mock should be removed.

publish_mock Publish Mock

Publishes a mock that you have created, making it available for use. Requires the mock's unique identifier (uid) and API key authentication.

ParameterTypeDescription
mock_uid *stringThe unique identifier of the mock to publish. This is the uid assigned to the mock when it was created.

delete_mock_publication Delete Mock Publication

Unpublish a mock by its unique identifier. This removes the mock from published state, making it unavailable for use.

ParameterTypeDescription
mock_uid *stringThe unique identifier of the mock to unpublish. This is a required string value that identifies which mock should be removed from published state.

list_monitors List Monitors

Retrieve a list of all monitors accessible to you, including their name, ID, owner, and unique identifier. Requires API Key authentication.

create_monitor Create Monitor

Create a new monitor that runs API tests on a specified schedule. The monitor will execute a Postman collection in a given environment at intervals defined by a cron expression and timezone.

ParameterTypeDescription
collectionstringThe unique identifier of the Postman collection to monitor. This collection contains the API tests that will be executed on schedule.
cronstringA cron expression defining the monitor's execution schedule (e.g., '*/5 * * * *' for every 5 minutes, '0 17 * * *' for daily at 5pm). Only limited schedules are supported; check Postman Monitors for a…
environmentstringThe unique identifier of the Postman environment to use when running the monitor. This provides variables and configuration for the collection execution.
namestringA descriptive name for the monitor to help identify it in your workspace.
timezonestringThe timezone for interpreting the cron schedule (e.g., 'Asia/Kolkata', 'America/New_York'). Use IANA timezone database format. Defaults to UTC if not specified.

get_monitor Get Monitor

Retrieve detailed information about a specific monitor using its unique identifier. This operation requires authentication via API key.

ParameterTypeDescription
monitor_uid *stringThe unique identifier of the monitor to retrieve. This is a required string value that uniquely identifies the monitor in the system.

update_monitor Update Monitor

Update an existing monitor's name and execution schedule. Modify the monitor identified by its unique identifier to change its display name and/or cron-based execution frequency and timezone.

ParameterTypeDescription
monitor_uid *stringThe unique identifier of the monitor to update. This is a required path parameter that specifies which monitor will be modified.
cronstringA cron expression defining the monitor's execution schedule (e.g., `*/5 * * * *` for every 5 minutes, `0 17 * * *` for daily at 5pm). Only certain predefined schedules are supported—verify your desi…
namestringThe new display name for the monitor. Use this to give the monitor a more descriptive or updated label.
timezonestringThe timezone for interpreting the cron schedule (e.g., `America/Chicago`). Use IANA timezone database identifiers to ensure the monitor runs at the intended local time.

delete_monitor Delete Monitor

Permanently delete an existing monitor by its unique identifier. This operation removes the monitor and all associated data.

ParameterTypeDescription
monitor_uid *stringThe unique identifier of the monitor to delete. This is a required string value that identifies which monitor to remove.

run_monitor Run Monitor

Executes a monitor immediately and waits for completion, returning the run results. This is a synchronous operation that blocks until the monitor finishes executing.

ParameterTypeDescription
monitor_uid *stringThe unique identifier of the monitor to execute.

create_webhook Create Webhook

Create a webhook that automatically triggers a specified collection when the webhook URL is called. The webhook URL is returned in the response for use in external systems.

ParameterTypeDescription
collectionstringThe ID of the collection that will be triggered when this webhook is invoked. This determines which collection executes when the webhook URL is called.
namestringA descriptive name for the webhook to help identify its purpose and distinguish it from other webhooks in your workspace.
workspacestringThe workspace ID where the webhook will be created. Required to scope the webhook to the correct workspace context.

list_workspaces List Workspaces

Retrieve a list of all workspaces accessible to you, including your own workspaces and those shared with you. Each workspace entry includes its name, ID, and type.

create_workspace Create Workspace

Create a new workspace and optionally populate it with collections, environments, mocks, and monitors by their unique identifiers. Returns the created workspace name and ID.

ParameterTypeDescription
collectionsarrayArray of collection UIDs to include in the workspace. Order is preserved as provided.
descriptionstringA descriptive text for the workspace to explain its purpose or contents.
environmentsarrayArray of environment UIDs to include in the workspace. Order is preserved as provided.
mocksarrayArray of mock server UIDs to include in the workspace. Order is preserved as provided.
monitorsarrayArray of monitor UIDs to include in the workspace. Order is preserved as provided.
namestringThe display name for the workspace. Use a descriptive name that identifies the workspace purpose or project.
typestringThe workspace type, such as 'personal' for individual workspaces or other organizational types.

get_workspace Get Workspace

Retrieve a workspace by its ID, including all associated collections, environments, mocks, and monitors that you have access to.

ParameterTypeDescription
workspace_id *stringThe unique identifier of the workspace to retrieve. Must be a valid workspace ID that you have access to.

update_workspace Update Workspace

Update a workspace's properties and manage its associations with collections, environments, mocks, and monitors. The endpoint replaces all associated entities with those specified in the request, so omitted entities will be removed from the workspace.

ParameterTypeDescription
workspace_id *stringThe unique identifier of the workspace to update.
collectionsarrayArray of collection UIDs to associate with this workspace. Replaces all existing collections—only specified collections will remain associated after the update.
descriptionstringA text description for the workspace to help identify its purpose or contents.
environmentsarrayArray of environment UIDs to associate with this workspace. Replaces all existing environments—only specified environments will remain associated after the update.
mocksarrayArray of mock UIDs to associate with this workspace. Replaces all existing mocks—only specified mocks will remain associated after the update.
monitorsarrayArray of monitor UIDs to associate with this workspace. Replaces all existing monitors—only specified monitors will remain associated after the update.
namestringThe display name for the workspace.

delete_workspace Delete Workspace

Permanently delete an existing workspace by its ID. Returns the ID of the deleted workspace upon successful completion.

ParameterTypeDescription
workspace_id *stringThe unique identifier of the workspace to delete. This ID is required to specify which workspace should be removed.