postman
v1.0.2Create, 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.
| Parameter | Type | Description |
|---|---|---|
createdBy | string | Filter results to APIs created by a specific user. Provide the user ID. |
description | string | Filter results to APIs whose description contains this value. Matching is case-insensitive. |
direction | string | Set sort order to ascending (asc) or descending (desc). Defaults to descending for timestamps and numeric fields, ascending otherwise. |
isPublic | string | Filter results by privacy state: use true for public APIs or false for private APIs. |
name | string | Filter results to APIs whose name contains this value. Matching is case-insensitive. |
since | string | Filter results to APIs updated on or after this timestamp. Use ISO 8601 date-time format. |
sort | string | Sort results by a specific field name from the response. Combine with direction parameter to control sort order. |
summary | string | Filter results to APIs whose summary contains this value. Matching is case-insensitive. |
until | string | Filter results to APIs updated on or before this timestamp. Use ISO 8601 date-time format. |
updatedBy | string | Filter results to APIs last updated by a specific user. Provide the user ID. |
workspace | string | Filter 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.
| Parameter | Type | Description |
|---|---|---|
description | string | A detailed description of the API's purpose and functionality. |
name | string | The name of the API. This is a required field and must be provided in the request body. |
summary | string | A short summary of the API's purpose. Should be concise and suitable for display in API listings. |
workspace | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API to update. |
description | string | The updated description for the API. Provide a clear, concise explanation of what the API does. |
name | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API in which to create the new version. |
documentation | boolean | When true, copies the API schema (specification/definition) from the source API version to the new version. |
id | string | The 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. |
mock | boolean | When true, copies mock server configurations from the source API version to the new version. |
monitor | boolean | When true, copies monitoring configurations from the source API version to the new version. |
name | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API containing the version to retrieve. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API containing the version to update. |
apiVersionId * | string | The unique identifier of the API version to update. |
name | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API containing the version to delete. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API for which to fetch contract test relations. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API for which to fetch documentation relations. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API for which to retrieve environment relations. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API for which to fetch integration test relations. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API for which to retrieve linked relations. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API to which relations will be added. |
apiVersionId * | string | The unique identifier of the API version to which relations will be added. |
contracttest | array | Array of Collection UIDs to associate as contract tests with this API version. |
documentation | array | Array of Collection UIDs to associate as documentation with this API version. |
mock | array | Array of Mock IDs to associate with this API version. |
testsuite | array | Array 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API to which the schema will be added. |
apiVersionId * | string | The unique identifier of the API version under which the schema will be created. |
language | string | The schema language format. Use 'json' or 'yaml' for OpenAPI and RAML schemas; use 'graphql' exclusively for GraphQL schemas. |
type | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API containing the schema. |
apiVersionId * | string | The unique identifier of the API version containing the schema. |
schemaId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API containing the schema to update. |
apiVersionId * | string | The unique identifier of the API version containing the schema to update. |
schemaId * | string | The unique identifier of the schema to update. |
language | string | The schema language format. Use `json` or `yaml` for OpenAPI and RAML schemas; use `graphql` for GraphQL schemas. |
type | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API to which the collection will be linked. |
apiVersionId * | string | The unique identifier of the API version to which the collection will be linked. |
schemaId * | string | The unique identifier of the schema from which the collection will be created. |
name | string | The display name for the new collection. This is a human-readable identifier for organizing and referencing the collection. |
relations | array | An 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… |
workspace | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API for which to retrieve test suite relations. |
apiVersionId * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
apiId * | string | The unique identifier of the API containing the relation to synchronize. |
apiVersionId * | string | The unique identifier of the specific API version whose schema will be used for synchronization. |
entityId * | string | The unique identifier of the specific relation instance to synchronize with the schema. |
entityType * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
description | string | A descriptive label for the collection (e.g., 'This is just a sample collection.'). Helps identify the collection's purpose. |
item | array | An array of request items to include in the collection. Items define the API requests and folder structure within the collection. |
name | string | The name of the collection. Supports dynamic variables like {{$randomInt}} for generating unique names. |
schema | string |
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).
| Parameter | Type | Description |
|---|---|---|
collection_uid * | string | The unique identifier of the collection to fork. |
workspace | string | The 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.
| Parameter | Type | Description |
|---|---|---|
destination | string | The UID of the destination collection where the fork will be merged into. Required for the merge operation. |
source | string | The UID of the forked collection to merge. This is the source collection that will be merged into the destination. |
strategy | string | The 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.
| Parameter | Type | Description |
|---|---|---|
collection_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
collection_uid * | string | The unique identifier of the collection to update. This is a required path parameter that specifies which collection will be replaced. |
description | string | A text description of the collection's purpose and contents. Supports dynamic variables in the format. |
item | array | An 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. |
name | string | The display name of the collection. Supports dynamic variables (e.g., {{$randomInt}}) for generating unique names. |
postman_id | string | The Postman internal identifier for the collection, typically a UUID format. Used to maintain collection identity across systems. |
schema | string |
delete_collection Delete Collection
Permanently delete a collection by its unique identifier. Returns the deleted collection's id and uid upon successful deletion.
| Parameter | Type | Description |
|---|---|---|
collection_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the environment to create. Must be between 1 and 254 characters long. |
values | array | An 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.
| Parameter | Type | Description |
|---|---|---|
environment_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
environment_uid * | string | The unique identifier of the environment to update. |
name | string | The new name for the environment. Must be between 1 and 254 characters. |
values | array | An 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.
| Parameter | Type | Description |
|---|---|---|
environment_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
collection | string | The unique identifier of the collection for which to create the mock. Format is a UUID string. |
environment | string | The 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.
| Parameter | Type | Description |
|---|---|---|
mock_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
mock_uid * | string | The unique identifier of the mock server to update. |
description | string | A descriptive text explaining the purpose or details of the mock server. |
environment | string | The unique identifier of the environment where this mock server operates. |
name | string | A human-readable name for the mock server. |
private | boolean | Whether the mock server is private (true) or publicly accessible (false). |
versionTag | string | The 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.
| Parameter | Type | Description |
|---|---|---|
mock_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
mock_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
mock_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
collection | string | The unique identifier of the Postman collection to monitor. This collection contains the API tests that will be executed on schedule. |
cron | string | A 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… |
environment | string | The unique identifier of the Postman environment to use when running the monitor. This provides variables and configuration for the collection execution. |
name | string | A descriptive name for the monitor to help identify it in your workspace. |
timezone | string | The 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.
| Parameter | Type | Description |
|---|---|---|
monitor_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
monitor_uid * | string | The unique identifier of the monitor to update. This is a required path parameter that specifies which monitor will be modified. |
cron | string | A 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… |
name | string | The new display name for the monitor. Use this to give the monitor a more descriptive or updated label. |
timezone | string | The 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.
| Parameter | Type | Description |
|---|---|---|
monitor_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
monitor_uid * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
collection | string | The ID of the collection that will be triggered when this webhook is invoked. This determines which collection executes when the webhook URL is called. |
name | string | A descriptive name for the webhook to help identify its purpose and distinguish it from other webhooks in your workspace. |
workspace | string | The 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.
| Parameter | Type | Description |
|---|---|---|
collections | array | Array of collection UIDs to include in the workspace. Order is preserved as provided. |
description | string | A descriptive text for the workspace to explain its purpose or contents. |
environments | array | Array of environment UIDs to include in the workspace. Order is preserved as provided. |
mocks | array | Array of mock server UIDs to include in the workspace. Order is preserved as provided. |
monitors | array | Array of monitor UIDs to include in the workspace. Order is preserved as provided. |
name | string | The display name for the workspace. Use a descriptive name that identifies the workspace purpose or project. |
type | string | The 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.
| Parameter | Type | Description |
|---|---|---|
workspace_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
workspace_id * | string | The unique identifier of the workspace to update. |
collections | array | Array of collection UIDs to associate with this workspace. Replaces all existing collections—only specified collections will remain associated after the update. |
description | string | A text description for the workspace to help identify its purpose or contents. |
environments | array | Array of environment UIDs to associate with this workspace. Replaces all existing environments—only specified environments will remain associated after the update. |
mocks | array | Array of mock UIDs to associate with this workspace. Replaces all existing mocks—only specified mocks will remain associated after the update. |
monitors | array | Array of monitor UIDs to associate with this workspace. Replaces all existing monitors—only specified monitors will remain associated after the update. |
name | string | The 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.
| Parameter | Type | Description |
|---|---|---|
workspace_id * | string | The unique identifier of the workspace to delete. This ID is required to specify which workspace should be removed. |