create_request
Create new API requests in Postman collections by specifying method, URL, headers, and body to organize and document API endpoints.
Instructions
Create a new API request in a Postman collection
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | Postman collection ID (UID) where to add the request | |
| name | Yes | Request name (e.g., 'Get User by ID') | |
| method | Yes | HTTP method | |
| url | Yes | Full URL or path (e.g., 'https://api.example.com/users/{id}' or '/api/v1/users/{id}') | |
| headers | No | HTTP headers as key-value pairs | |
| body | No | Request body (for POST/PUT/PATCH) | |
| description | No | Request description/documentation | |
| folderId | No | Optional: Folder ID to organize requests. If provided, request will be created in this folder. | |
| folderName | No | Optional: Folder name to organize requests. Will auto-find folderId. Takes precedence over folderId if both provided. |