action getpostman_create_collection { label: "Create Collection" description: "This endpoint allows you to create collections using the Postman Collection v2 format. For more information about the v2 schema, check the format [here](https://schema.getpostman.com/json/collection/v2.0.0/docs/index.html).\n\nOn successful creation of the collection, the response returns the collection `name`, `id` and the `uid`.\n\nYou can also specify the context of a workspace to create a collection in directly by passing the `workspace` as a query param.\n\n> Requires API Key as `X-Api-Key` request header or `apikey` URL query parameter." provider: getpostman method: POST path: "/collections" encoding: json input: { type: "object" properties: { collection: { type: "object" properties: { info: { type: "object" properties: { description: { type: "string" } name: { type: "string" } schema: { type: "string" } } } item: { type: "array" items: { type: "object" properties: { item: { type: "array" items: { type: "object" properties: { name: { type: "string" } request: { type: "object" properties: { body: { type: "object" properties: { mode: { type: "object" additionalProperties: true } raw: { type: "object" additionalProperties: true } } } description: { type: "string" } header: { type: "array" items: { type: "object" additionalProperties: true } } method: { type: "string" } url: { type: "string" } } } } } } name: { type: "string" } } } } } } } } output: { type: "object" properties: { collection: { type: "object" properties: { id: { type: "string" } name: { type: "string" } uid: { type: "string" } } } } } }