Skip to content

Postman

Postman

Postman is an API platform for building, testing, and managing APIs with powerful collaboration features. With the Postman integration in SquadOS, your agents can automate the entire API lifecycle: create collections and requests, manage environments and variables, configure mock servers, run monitors, and import/export OpenAPI specifications.

This tool uses an API key (API_KEY) to connect.

You will need the following fields:

FieldRequiredDescription
api_keyYesYour Postman account API key, used to authenticate all requests to the Postman API.
  1. Go to postman.com and log in to your account.
  2. Click your avatar in the top-right corner and select Settings.
  3. In the API keys section, click Generate API Key.
  4. Give the key a descriptive name (e.g., “SquadOS”) and confirm.
  5. Copy the generated key — it is shown only once.
  1. Go to Tools in the side menu (/admin/tools).
  2. Open the Available tab and search for Postman.
  3. Click the card to open the details modal and hit Connect.
  4. You’re taken to the secure connection page hosted by Composio, where you enter the API key obtained above.
  5. Once done, you’re sent back to SquadOS with the account connected and the tool available for your agents. (Connection-flow details in Organization Tools.)

POSTMAN_CREATE_A_COLLECTION

Tool to create a new Postman collection in a specific workspace or the default workspace. Use when you need to create a collection with workspace specification.

NameTypeRequiredDescription
workspacestringNoOptional workspace ID where the collection will be created. If not specified, the collection is created in the user’s default workspace.
collectionobjectYesCollection object containing info (name, description, schema) and item array (requests/folders).
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_A_REQUEST

Tool to create a new request in a Postman collection. Use when you need to add a request to an existing collection with specified method, URL, headers, and body.

NameTypeRequiredDescription
namestringYesThe name of the request to create.
requestobjectYesThe request object containing method, URL, headers, body, and other request details following the Postman Collection Format.
collection_idstringYesThe unique identifier of the collection where the request will be created.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_A_FOLDER

Tool to create a folder in a Postman collection. Use when you need to organize requests by creating a new folder within a collection.

NameTypeRequiredDescription
namestringYesThe name of the folder to create.
descriptionstringNoOptional description of the folder explaining its purpose.
collection_idstringYesThe unique identifier of the collection to create the folder in.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_AN_ENVIRONMENT

Tool to create a new environment in a Postman workspace. Use when you need to create a new environment with variables for different settings (development, production, testing, etc.).

NameTypeRequiredDescription
environmentobjectYesEnvironment object containing name and optional array of environment variables.
workspace_idstringYesThe workspace ID where the environment will be created.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_A_WORKSPACE

Tool to create a new workspace in Postman with a specified name, type (personal, team, private, or public), and optional description.

NameTypeRequiredDescription
workspaceobjectYesThe workspace object containing name, type, and optional description.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_AN_API

Tool to create a new API in Postman with a name, summary, and description in your Postman workspace.

NameTypeRequiredDescription
apiobjectYesThe API object containing name, summary, and description.
workspace_idstringYesThe workspace ID where the API will be created.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_A_MOCK_SERVER

Tool to create a new mock server in a Postman collection to simulate API endpoints for testing or development.

NameTypeRequiredDescription
mockobjectYesMock server configuration containing name, collection UID, optional environment UID, and privacy setting.
workspacestringNoThe workspace ID where the mock server should be created.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_A_MONITOR

Tool to create a new monitor in a specific workspace to run a collection on a schedule using cron expressions.

NameTypeRequiredDescription
monitorobjectYesMonitor configuration object containing name, collection, schedule, and optional environment.
workspacestringYesThe workspace ID where the monitor will be created.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_A_SCHEMA

Tool to create a schema for an API in Postman (OpenAPI, GraphQL, Protocol Buffers, etc.). The schema can consist of single or multiple files.

NameTypeRequiredDescription
typestringYesThe type of schema being created. Common values include openapi:3, openapi:2, proto, graphql.
filesarrayYesList of files that make up the schema. Each file must have a path and content.
api_idstringYesThe unique identifier (UUID) of the API for which to create the schema.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_A_SPEC

Tool to create an API specification in Postman’s Spec Hub. Supports various spec types including OpenAPI 3.0, OpenAPI 3.1, and AsyncAPI 2.0.

NameTypeRequiredDescription
namestringYesThe name of the API specification to create.
typestringYesThe type of specification. Common values include OPENAPI:3.0, OPENAPI:3.1, ASYNCAPI:2.0.
filesarrayYesArray of files for the specification. Each file must have a path and content property.
workspace_idstringYesThe workspace ID where the spec will be created.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_ALL_COLLECTIONS2

Tool to get all collections accessible to the authenticated user, including subscribed collections.

NameTypeRequiredDescription
limitintegerNoThe maximum number of collections to return per page.
cursorstringNoA cursor for pagination. Pass the nextCursor value from a previous response to fetch the next page.
workspacestringNoOptional workspace ID to filter collections.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_ALL_ENVIRONMENTS

Tool to get all environments accessible to the authenticated user with optional workspace filtering.

NameTypeRequiredDescription
limitintegerNoThe maximum number of environments to return per page.
cursorstringNoA cursor for pagination.
workspacestringNoFilter by workspace ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_ALL_WORKSPACES

Tool to get all workspaces accessible to the authenticated user with optional type filtering.

NameTypeRequiredDescription
typestringNoFilter by workspace type: personal, team, or public.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_A_WORKSPACE

Tool to get detailed information about a specific workspace by its ID, including all collections, environments, APIs, mocks, and monitors.

NameTypeRequiredDescription
workspace_idstringYesThe unique identifier of the workspace to retrieve.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_AN_API

Tool to retrieve information about a specific API in Postman, including name, description, versions, and schemas.

NameTypeRequiredDescription
api_idstringYesThe unique identifier of the API to retrieve.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_ALL_APIS

Tool to get all APIs accessible to the authenticated user with optional workspace filtering.

NameTypeRequiredDescription
limitintegerNoThe maximum number of APIs to return per page.
cursorstringNoA cursor for pagination.
workspacestringNoFilter by workspace ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_AN_ENVIRONMENT

Tool to retrieve detailed information about a specific environment, including name, ID, owner, and all environment variables.

NameTypeRequiredDescription
environment_idstringYesThe unique identifier (ID or UID) of the environment to retrieve.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_UPDATE_PART_OF_A_COLLECTION

Tool to update specific collection properties like name, description, authentication, variables, or events without replacing the entire collection structure.

NameTypeRequiredDescription
collectionobjectYesThe collection object containing the properties to update. Can include info (with name, description), auth, variables, or events.
collection_idstringYesThe unique identifier (ID or UID) of the collection to update.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_UPDATE_AN_ENVIRONMENT

Tool to update specific environment properties using JSON Patch operations (RFC 6902). Use when you need to modify environment name or variables without replacing the entire environment.

NameTypeRequiredDescription
operationsarrayYesArray of JSON Patch operations to apply to the environment. Each operation modifies a specific field using the RFC 6902 format.
environment_idstringYesThe unique identifier (ID or UID) of the environment to update.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_UPDATE_A_WORKSPACE

Tool to update an existing workspace in Postman. The ‘type’ field is required for all updates.

NameTypeRequiredDescription
workspaceobjectYesThe workspace object containing fields to update. The ‘type’ field is required; ‘name’ and ‘description’ are optional.
workspace_idstringYesThe unique identifier of the workspace to update.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_DELETE_A_COLLECTION

Tool to permanently delete a collection from Postman. Use when you need to remove a collection that is no longer needed.

NameTypeRequiredDescription
collection_idstringYesThe unique identifier (UID or ID) of the collection to delete.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_DELETE_AN_ENVIRONMENT

Tool to delete an environment permanently in Postman. Use when you need to remove an environment that is no longer needed.

NameTypeRequiredDescription
environment_idstringYesThe environment ID or UID to delete.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_IMPORT_OPENAPI

Tool to import an OpenAPI specification into Postman as a new collection within a specific workspace.

NameTypeRequiredDescription
typestringYesThe type of import input. Use string when providing the OpenAPI specification as a JSON/YAML string.
inputstringYesThe OpenAPI specification content as a JSON or YAML string. Must be a valid OpenAPI 3.0+ specification.
workspacestringYesThe unique identifier of the workspace where the OpenAPI specification will be imported.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GENERATE_A_COLLECTION_FROM_SPEC

Tool to generate a Postman collection from an OpenAPI 2.0, 3.0, or 3.1 specification. The operation is asynchronous and returns a task ID to track generation status.

NameTypeRequiredDescription
namestringYesThe name for the generated collection.
optionsobjectNoOptions for configuring the collection generation from the specification.
spec_idstringYesThe unique identifier of the API specification from which to generate the collection.
element_typestringNoThe type of element to generate. Must be collection for collection generation.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_TRANSFORM_COLLECTION_TO_OPENAPI

Tool to transform an existing Postman Collection into a stringified OpenAPI 3.0.3 definition. Use when you need to convert a collection to OpenAPI format for API documentation or interoperability.

NameTypeRequiredDescription
collection_idstringYesThe unique identifier of the collection to transform into OpenAPI format.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_RUN_A_MONITOR

Tool to trigger an immediate run of a monitor and retrieve its execution results. Use when you need to manually execute a monitor outside of its scheduled runs.

NameTypeRequiredDescription
monitor_idstringYesThe unique identifier (ID or UID) of the monitor to run.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_CREATE_A_PULL_REQUEST

Tool to create a pull request for a forked collection into its parent collection. The forked collection must exist before creating a pull request.

NameTypeRequiredDescription
titlestringYesThe title of the pull request. This should summarize the changes being proposed.
reviewersarrayNoArray of reviewer user IDs or user groups who should review the pull request.
descriptionstringNoA detailed description of the changes in the pull request.
collection_uidstringYesThe unique identifier (UID) of the forked collection from which to create the pull request. Format: {owner}-{collectionId}.
destination_idstringYesThe UID of the destination (parent) collection where the changes will be merged. Format: {owner}-{collectionId}.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_AUTHENTICATED_USER

Tool to get information about the authenticated user, including their user ID, username, and email address.

NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

POSTMAN_GET_ALL_MONITORS

Tool to get all monitors accessible to the authenticated user with optional workspace filtering.

NameTypeRequiredDescription
limitintegerNoThe maximum number of monitors to return per page. Defaults to 25.
cursorstringNoA cursor for pagination.
workspacestringNoFilter by workspace ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.