{
  "info": {
    "name": "APX Public API v1.0",
    "description": "Сгенерировано из OpenAPI. Ручные правки будут потеряны: см. server/tools/crm-api/generate-artifacts.ts",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "channelId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "checklistId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "dealId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "definitionUuid",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "entityType",
      "value": "example",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "fileId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "id",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "itemId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "kbId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "optionUuid",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "ownerId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "pipelineId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "productId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "resourceId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "setId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    },
    {
      "key": "taskId",
      "value": "11111111-1111-4111-8111-111111111111",
      "description": "Замените пример значением существующего объекта вашего tenant"
    }
  ],
  "item": [
    {
      "name": "AI Agents",
      "item": [
        {
          "name": "DELETE /ai-agents/external/agents/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/agents/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "agents",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "confirmed",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "DELETE /ai-agents/external/api-integrations/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/api-integrations/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "api-integrations",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "DELETE /ai-agents/external/knowledge-bases/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/knowledge-bases/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "knowledge-bases",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "confirmed",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "DELETE /ai-agents/external/knowledge-bases/{{kbId}}/files/{{fileId}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/knowledge-bases/{{kbId}}/files/{{fileId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "knowledge-bases",
                "{{kbId}}",
                "files",
                "{{fileId}}"
              ]
            }
          }
        },
        {
          "name": "DELETE /ai-agents/external/products-sets/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "confirmed",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "DELETE /ai-agents/external/products-sets/{{setId}}/products/{{productId}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets/{{setId}}/products/{{productId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets",
                "{{setId}}",
                "products",
                "{{productId}}"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/agents",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "agents"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/agents/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/agents/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "agents",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/agents/{{id}}/channels",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/agents/{{id}}/channels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "agents",
                "{{id}}",
                "channels"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/api-integrations",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/api-integrations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "api-integrations"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/api-integrations/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/api-integrations/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "api-integrations",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/knowledge-bases",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/knowledge-bases",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "knowledge-bases"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/knowledge-bases/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/knowledge-bases/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "knowledge-bases",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/knowledge-bases/{{kbId}}/files",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/knowledge-bases/{{kbId}}/files",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "knowledge-bases",
                "{{kbId}}",
                "files"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/products-sets",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets"
              ],
              "query": [
                {
                  "key": "mode",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/products-sets/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "GET /ai-agents/external/products-sets/{{setId}}/products",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets/{{setId}}/products",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets",
                "{{setId}}",
                "products"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "20",
                  "disabled": true
                },
                {
                  "key": "page",
                  "value": "1",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "PATCH /ai-agents/external/agents/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/agents/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "agents",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PATCH /ai-agents/external/api-integrations/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/api-integrations/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "api-integrations",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PATCH /ai-agents/external/knowledge-bases/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/knowledge-bases/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "knowledge-bases",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PATCH /ai-agents/external/products-sets/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /ai-agents/external/agents",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/agents",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "agents"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /ai-agents/external/api-integrations",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/api-integrations",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "api-integrations"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\",\n  \"folders\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /ai-agents/external/knowledge-bases",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/knowledge-bases",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "knowledge-bases"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /ai-agents/external/products-sets",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /ai-agents/external/products-sets/{{setId}}/products",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets/{{setId}}/products",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets",
                "{{setId}}",
                "products"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"example\",\n  \"href\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PUT /ai-agents/external/knowledge-bases/{{kbId}}/files/{{fileId}}",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/knowledge-bases/{{kbId}}/files/{{fileId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "knowledge-bases",
                "{{kbId}}",
                "files",
                "{{fileId}}"
              ]
            },
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": []
                }
              ]
            }
          }
        },
        {
          "name": "PUT /ai-agents/external/products-sets/{{setId}}/products/{{productId}}",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/ai-agents/external/products-sets/{{setId}}/products/{{productId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "ai-agents",
                "external",
                "products-sets",
                "{{setId}}",
                "products",
                "{{productId}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"example\",\n  \"href\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Booking",
      "item": [
        {
          "name": "GET /booking/appointments",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/appointments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "appointments"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "2030-01-01T10:00:00.000Z",
                  "disabled": false
                },
                {
                  "key": "until",
                  "value": "2030-01-01T10:00:00.000Z",
                  "disabled": false
                },
                {
                  "key": "branchId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "specialistId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "clientUuid",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/appointments/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/appointments/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "appointments",
                "{{id}}"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/appointments/{{id}}/history",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/appointments/{{id}}/history",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "appointments",
                "{{id}}",
                "history"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/availability",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/availability",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "availability"
              ],
              "query": [
                {
                  "key": "dateFrom",
                  "value": "2030-01-01",
                  "disabled": false
                },
                {
                  "key": "dateTo",
                  "value": "2030-01-01",
                  "disabled": false
                },
                {
                  "key": "branchId",
                  "value": "example",
                  "disabled": false
                },
                {
                  "key": "serviceId",
                  "value": "example",
                  "disabled": false
                },
                {
                  "key": "specialistId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/branches",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/branches",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "branches"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/capabilities",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/capabilities",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "capabilities"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/catalog",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/catalog",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "catalog"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/services",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/services",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "services"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/settings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "settings"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "GET /booking/specialists",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/specialists",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "specialists"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "PATCH /booking/appointments/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/appointments/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "appointments",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1,\n  \"formVersion\": 1,\n  \"answers\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "PATCH /booking/branches/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/branches/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "branches",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "PATCH /booking/services/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/services/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "services",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "PATCH /booking/settings",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "settings"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "POST /booking/appointments",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/appointments",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "appointments"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"startsAt\": \"2030-01-01T10:00:00.000Z\",\n  \"branchId\": \"11111111-1111-4111-8111-111111111111\",\n  \"serviceId\": \"11111111-1111-4111-8111-111111111111\",\n  \"notificationPreferences\": {\n    \"email\": false,\n    \"messenger\": false\n  },\n  \"privacyConsent\": {\n    \"accepted\": false,\n    \"version\": 1\n  },\n  \"formVersion\": 1,\n  \"answers\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "POST /booking/appointments/{{id}}/cancel",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/appointments/{{id}}/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "appointments",
                "{{id}}",
                "cancel"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "POST /booking/appointments/{{id}}/reschedule",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/appointments/{{id}}/reschedule",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "appointments",
                "{{id}}",
                "reschedule"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1,\n  \"startsAt\": \"2030-01-01T10:00:00.000Z\",\n  \"branchId\": \"11111111-1111-4111-8111-111111111111\",\n  \"specialistId\": \"11111111-1111-4111-8111-111111111111\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "POST /booking/appointments/{{id}}/status",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/appointments/{{id}}/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "appointments",
                "{{id}}",
                "status"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1,\n  \"status\": \"confirmed\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "POST /booking/branches",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/branches",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "branches"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"active\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        },
        {
          "name": "POST /booking/services",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/booking/services",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "booking",
                "services"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"branchIds\": [],\n  \"name\": \"example\",\n  \"description\": \"example\",\n  \"durationMinutes\": 1,\n  \"price\": \"example\",\n  \"currency\": \"RUB\",\n  \"bufferBeforeMinutes\": 0,\n  \"bufferAfterMinutes\": 0,\n  \"active\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Channels",
      "item": [
        {
          "name": "GET /external/channels",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/external/channels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "external",
                "channels"
              ]
            }
          }
        },
        {
          "name": "GET /external/channels/{{channelId}}/ai-operator",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/external/channels/{{channelId}}/ai-operator",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "external",
                "channels",
                "{{channelId}}",
                "ai-operator"
              ]
            }
          }
        },
        {
          "name": "PATCH /external/channels/{{channelId}}/ai-operator",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/external/channels/{{channelId}}/ai-operator",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "external",
                "channels",
                "{{channelId}}",
                "ai-operator"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "CRM Analytics",
      "item": [
        {
          "name": "Сводная аналитика встроенной CRM",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/analytics/summary",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "analytics",
                "summary"
              ],
              "query": [
                {
                  "key": "startDate",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "endDate",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "pipelineId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "ownerId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "contactId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "tagId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Сводная аналитика встроенной CRM"
          }
        }
      ]
    },
    {
      "name": "CRM Audit",
      "item": [
        {
          "name": "Журнал изменений CRM",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/audit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "audit"
              ],
              "query": [
                {
                  "key": "resourceType",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "action",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "applicationId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                }
              ]
            },
            "description": "Журнал изменений CRM"
          }
        }
      ]
    },
    {
      "name": "CRM Bulk Jobs",
      "item": [
        {
          "name": "Массовые операции организации",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/bulk-jobs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "bulk-jobs"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "entityType",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Массовые операции организации"
          }
        },
        {
          "name": "Поставить массовую операцию",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/bulk-jobs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "bulk-jobs"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"entityType\": \"contact\",\n  \"action\": \"update\",\n  \"targetIds\": [\n    \"example\"\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Поставить массовую операцию"
          }
        },
        {
          "name": "Статус массовой операции и ошибки по целям",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/bulk-jobs/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "bulk-jobs",
                "{{id}}"
              ]
            },
            "description": "Статус массовой операции и ошибки по целям"
          }
        }
      ]
    },
    {
      "name": "CRM Capabilities",
      "item": [
        {
          "name": "Возможности CRM API для текущей организации",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/capabilities",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "capabilities"
              ]
            },
            "description": "Возможности CRM API для текущей организации"
          }
        }
      ]
    },
    {
      "name": "CRM Change Feed",
      "item": [
        {
          "name": "Инкрементальная лента изменений CRM",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/changes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "changes"
              ],
              "query": [
                {
                  "key": "after",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "resourceTypes",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Инкрементальная лента изменений CRM"
          }
        },
        {
          "name": "Текущая позиция ленты изменений",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/changes/cursor",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "changes",
                "cursor"
              ],
              "query": [
                {
                  "key": "resourceTypes",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Текущая позиция ленты изменений"
          }
        }
      ]
    },
    {
      "name": "CRM Companies",
      "item": [
        {
          "name": "GET /crm/companies",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "search",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "ownerId",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "GET /crm/companies/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "GET /crm/companies/{{id}}/delete/preview",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/{{id}}/delete/preview",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "{{id}}",
                "delete",
                "preview"
              ]
            }
          }
        },
        {
          "name": "PATCH /crm/companies/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/companies",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/companies/{{id}}/delete/commit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/{{id}}/delete/commit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "{{id}}",
                "delete",
                "commit"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/companies/batch/get",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/batch/get",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "batch",
                "get"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"items\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/companies/batch/upsert",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/batch/upsert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "batch",
                "upsert"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"items\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/companies/merge/commit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/merge/commit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "merge",
                "commit"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/companies/merge/preview",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/merge/preview",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "merge",
                "preview"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/companies/upsert",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/upsert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "upsert"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\",\n  \"externalId\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Атомарно заменить контакты компании",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/{{id}}/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "{{id}}",
                "contacts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1,\n  \"contacts\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Атомарно заменить контакты компании"
          }
        },
        {
          "name": "Заменить набор тегов компании",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/{{resourceId}}/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "{{resourceId}}",
                "tags"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tags\": [],\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Заменить набор тегов компании"
          }
        },
        {
          "name": "Контакты компании",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/{{id}}/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "{{id}}",
                "contacts"
              ]
            },
            "description": "Контакты компании"
          }
        },
        {
          "name": "Теги компании",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/companies/{{resourceId}}/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "companies",
                "{{resourceId}}",
                "tags"
              ]
            },
            "description": "Теги компании"
          }
        }
      ]
    },
    {
      "name": "CRM Contacts",
      "item": [
        {
          "name": "DELETE /crm/contacts/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            }
          }
        },
        {
          "name": "GET /crm/contacts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "search",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "GET /crm/contacts/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "GET /crm/contacts/{{id}}/delete/preview",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/{{id}}/delete/preview",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "{{id}}",
                "delete",
                "preview"
              ]
            }
          }
        },
        {
          "name": "PATCH /crm/contacts/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/contacts",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/contacts/{{id}}/delete/commit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/{{id}}/delete/commit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "{{id}}",
                "delete",
                "commit"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1,\n  \"mode\": \"anonymize\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/contacts/batch/get",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/batch/get",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "batch",
                "get"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"items\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/contacts/batch/upsert",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/batch/upsert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "batch",
                "upsert"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"items\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/contacts/merge/commit",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/merge/commit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "merge",
                "commit"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"primary\": {},\n  \"secondary\": {},\n  \"expectedPrimaryVersion\": 1,\n  \"expectedSecondaryVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/contacts/merge/preview",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/merge/preview",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "merge",
                "preview"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"primary\": {},\n  \"secondary\": {}\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/contacts/upsert",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/upsert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "upsert"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"externalId\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Заменить набор тегов клиента",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/{{resourceId}}/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "{{resourceId}}",
                "tags"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tags\": [],\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Заменить набор тегов клиента"
          }
        },
        {
          "name": "Теги клиента",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/contacts/{{resourceId}}/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "contacts",
                "{{resourceId}}",
                "tags"
              ]
            },
            "description": "Теги клиента"
          }
        }
      ]
    },
    {
      "name": "CRM Custom Fields",
      "item": [
        {
          "name": "Архивировать вариант с CAS",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions/{{definitionUuid}}/options/{{optionUuid}}/archive",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions",
                "{{definitionUuid}}",
                "options",
                "{{optionUuid}}",
                "archive"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1,\n  \"expectedDefinitionVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Архивировать вариант с CAS"
          }
        },
        {
          "name": "Архивировать определение с проверкой версии",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions/{{definitionUuid}}/archive",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions",
                "{{definitionUuid}}",
                "archive"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Архивировать определение с проверкой версии"
          }
        },
        {
          "name": "Восстановить вариант с CAS",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions/{{definitionUuid}}/options/{{optionUuid}}/restore",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions",
                "{{definitionUuid}}",
                "options",
                "{{optionUuid}}",
                "restore"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1,\n  \"expectedDefinitionVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Восстановить вариант с CAS"
          }
        },
        {
          "name": "Восстановить определение с проверкой версии",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions/{{definitionUuid}}/restore",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions",
                "{{definitionUuid}}",
                "restore"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Восстановить определение с проверкой версии"
          }
        },
        {
          "name": "Добавить вариант с CAS определения",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions/{{definitionUuid}}/options",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions",
                "{{definitionUuid}}",
                "options"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"label\": \"example\",\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Добавить вариант с CAS определения"
          }
        },
        {
          "name": "Обновить вариант с CAS варианта и определения",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions/{{definitionUuid}}/options/{{optionUuid}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions",
                "{{definitionUuid}}",
                "options",
                "{{optionUuid}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1,\n  \"expectedDefinitionVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить вариант с CAS варианта и определения"
          }
        },
        {
          "name": "Обновить определение с проверкой версии",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions/{{definitionUuid}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions",
                "{{definitionUuid}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить определение с проверкой версии"
          }
        },
        {
          "name": "Получить определение кастомного поля",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions/{{definitionUuid}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions",
                "{{definitionUuid}}"
              ]
            },
            "description": "Получить определение кастомного поля"
          }
        },
        {
          "name": "Получить явные назначения кастомных полей",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/assignments/{{entityType}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "assignments",
                "{{entityType}}"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Получить явные назначения кастомных полей"
          }
        },
        {
          "name": "Создать определение кастомного поля",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"entityType\": \"client\",\n  \"key\": \"example\",\n  \"name\": \"example\",\n  \"type\": \"text\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Создать определение кастомного поля"
          }
        },
        {
          "name": "Список определений кастомных полей",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/definitions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "definitions"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "entityType",
                  "value": "client",
                  "disabled": false
                },
                {
                  "key": "includeArchived",
                  "value": "false",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "pipelineUuid",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Список определений кастомных полей"
          }
        },
        {
          "name": "Явно назначить значения с CAS набора полей",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/custom-fields/assignments/{{entityType}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "custom-fields",
                "assignments",
                "{{entityType}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"entity\": {},\n  \"expectedVersion\": 0,\n  \"assignments\": [\n    {\n      \"field\": {},\n      \"value\": {}\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Явно назначить значения с CAS набора полей"
          }
        }
      ]
    },
    {
      "name": "CRM Deals",
      "item": [
        {
          "name": "Активности сделки",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/activities",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "activities"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                }
              ]
            },
            "description": "Активности сделки"
          }
        },
        {
          "name": "Вложения сделки",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{ownerId}}/files",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{ownerId}}",
                "files"
              ]
            },
            "description": "Вложения сделки"
          }
        },
        {
          "name": "Добавить активность к сделке",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/activities",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "activities"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"note\",\n  \"subject\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Добавить активность к сделке"
          }
        },
        {
          "name": "Добавить позицию в сделку",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/items",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "items"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"productName\": \"example\",\n  \"quantity\": \"2.000\",\n  \"unitPrice\": \"1250.00\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Добавить позицию в сделку"
          }
        },
        {
          "name": "Заменить набор тегов сделки",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{resourceId}}/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{resourceId}}",
                "tags"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tags\": [],\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Заменить набор тегов сделки"
          }
        },
        {
          "name": "Лента событий сделки",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "events"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Лента событий сделки"
          }
        },
        {
          "name": "Обновить активность с проверкой версии",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/activities/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "activities",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить активность с проверкой версии"
          }
        },
        {
          "name": "Обновить позицию с проверкой версии",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/items/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "items",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить позицию с проверкой версии"
          }
        },
        {
          "name": "Обновить сделку",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить сделку"
          }
        },
        {
          "name": "Открепить файл от сделки",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{ownerId}}/files/{{fileId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{ownerId}}",
                "files",
                "{{fileId}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Открепить файл от сделки"
          }
        },
        {
          "name": "Пакетное создание или обновление сделок",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/batch/upsert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "batch",
                "upsert"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"items\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Пакетное создание или обновление сделок"
          }
        },
        {
          "name": "Пакетное чтение сделок",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/batch/get",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "batch",
                "get"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"items\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Пакетное чтение сделок"
          }
        },
        {
          "name": "Переместить сделку на стадию",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{id}}/move",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{id}}",
                "move"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stageId\": \"example\",\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Переместить сделку на стадию"
          }
        },
        {
          "name": "Позиции сделки",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/items",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "items"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                }
              ]
            },
            "description": "Позиции сделки"
          }
        },
        {
          "name": "Получить сделку",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{id}}"
              ]
            },
            "description": "Получить сделку"
          }
        },
        {
          "name": "Прикрепить файлы к сделке",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{ownerId}}/files",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{ownerId}}",
                "files"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Прикрепить файлы к сделке"
          }
        },
        {
          "name": "Создать или обновить сделку по externalId",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/upsert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "upsert"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"example\",\n  \"pipelineId\": \"example\",\n  \"externalId\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Создать или обновить сделку по externalId"
          }
        },
        {
          "name": "Создать сделку",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"example\",\n  \"pipelineId\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Создать сделку"
          }
        },
        {
          "name": "Список сделок",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "pipelineId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "stageId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "companyId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "contactId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "ownerId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Список сделок"
          }
        },
        {
          "name": "Теги сделки",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{resourceId}}/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{resourceId}}",
                "tags"
              ]
            },
            "description": "Теги сделки"
          }
        },
        {
          "name": "Удалить активность с проверкой версии",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/activities/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "activities",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Удалить активность с проверкой версии"
          }
        },
        {
          "name": "Удалить позицию с проверкой версии",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{dealId}}/items/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{dealId}}",
                "items",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Удалить позицию с проверкой версии"
          }
        },
        {
          "name": "Удалить сделку с проверкой версии",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/deals/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "deals",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Удалить сделку с проверкой версии"
          }
        }
      ]
    },
    {
      "name": "CRM Exports",
      "item": [
        {
          "name": "Задания выгрузки организации",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/exports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "exports"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                }
              ]
            },
            "description": "Задания выгрузки организации"
          }
        },
        {
          "name": "Запросить выгрузку",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/exports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "exports"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"contacts\",\n  \"format\": \"excel\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Запросить выгрузку"
          }
        },
        {
          "name": "Статус выгрузки и ссылка на файл",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/exports/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "exports",
                "{{id}}"
              ]
            },
            "description": "Статус выгрузки и ссылка на файл"
          }
        }
      ]
    },
    {
      "name": "CRM Imports",
      "item": [
        {
          "name": "Загрузить файл импорта",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/crm/imports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "imports"
              ]
            },
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "file",
                  "type": "file",
                  "src": []
                },
                {
                  "key": "entityType",
                  "type": "text",
                  "value": "provider_bundle"
                }
              ]
            },
            "description": "Загрузить файл импорта"
          }
        },
        {
          "name": "Запустить импорт с заданным маппингом колонок",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/imports/{{id}}/start",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "imports",
                "{{id}}",
                "start"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"mapping\": {},\n  \"dedupPolicy\": \"skip\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Запустить импорт с заданным маппингом колонок"
          }
        },
        {
          "name": "Импорты организации",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/imports",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "imports"
              ]
            },
            "description": "Импорты организации"
          }
        },
        {
          "name": "Отменить импорт",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/imports/{{id}}/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "imports",
                "{{id}}",
                "cancel"
              ]
            },
            "description": "Отменить импорт"
          }
        },
        {
          "name": "Предпросмотр: колонки файла и доступные поля CRM",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/imports/{{id}}/preview",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "imports",
                "{{id}}",
                "preview"
              ]
            },
            "description": "Предпросмотр: колонки файла и доступные поля CRM"
          }
        },
        {
          "name": "Состояние импорта",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/imports/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "imports",
                "{{id}}"
              ]
            },
            "description": "Состояние импорта"
          }
        }
      ]
    },
    {
      "name": "CRM Operators",
      "item": [
        {
          "name": "GET /crm/operators/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/operators/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "operators",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "Список операторов организации",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/operators",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "operators"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Список операторов организации"
          }
        }
      ]
    },
    {
      "name": "CRM Pipelines",
      "item": [
        {
          "name": "DELETE /crm/pipelines/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            }
          }
        },
        {
          "name": "DELETE /crm/pipelines/{{pipelineId}}/lost-reasons/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/lost-reasons/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "lost-reasons",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            }
          }
        },
        {
          "name": "DELETE /crm/pipelines/{{pipelineId}}/stages/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/stages/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "stages",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            }
          }
        },
        {
          "name": "GET /crm/pipelines",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "GET /crm/pipelines/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "PATCH /crm/pipelines/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PATCH /crm/pipelines/{{pipelineId}}/lost-reasons/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/lost-reasons/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "lost-reasons",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "PATCH /crm/pipelines/{{pipelineId}}/stages/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/stages/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "stages",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/pipelines",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/pipelines/{{pipelineId}}/lost-reasons",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/lost-reasons",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "lost-reasons"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"text\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/pipelines/{{pipelineId}}/stages",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/stages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "stages"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Полная перестановка порядка воронок",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/reorder",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "reorder"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Полная перестановка порядка воронок"
          }
        },
        {
          "name": "Полная перестановка порядка причин потери",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/lost-reasons/reorder",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "lost-reasons",
                "reorder"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order\": [],\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Полная перестановка порядка причин потери"
          }
        },
        {
          "name": "Полная перестановка порядка стадий",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/stages/reorder",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "stages",
                "reorder"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order\": [],\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Полная перестановка порядка стадий"
          }
        },
        {
          "name": "Причины потери воронки",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/lost-reasons",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "lost-reasons"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Причины потери воронки"
          }
        },
        {
          "name": "Что затрагивает удаление воронки",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{id}}/impact",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{id}}",
                "impact"
              ]
            },
            "description": "Что затрагивает удаление воронки"
          }
        },
        {
          "name": "Что затрагивает удаление стадии",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/pipelines/{{pipelineId}}/stages/{{id}}/impact",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "pipelines",
                "{{pipelineId}}",
                "stages",
                "{{id}}",
                "impact"
              ]
            },
            "description": "Что затрагивает удаление стадии"
          }
        }
      ]
    },
    {
      "name": "CRM Search",
      "item": [
        {
          "name": "Полнотекстовый поиск по CRM",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/search",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "search"
              ],
              "query": [
                {
                  "key": "q",
                  "value": "example",
                  "disabled": false
                },
                {
                  "key": "types",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "20",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Полнотекстовый поиск по CRM"
          }
        }
      ]
    },
    {
      "name": "CRM Settings",
      "item": [
        {
          "name": "Обновить настройки CRM с проверкой версии",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "settings"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 0,\n  \"autoCreateDealsFromChats\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить настройки CRM с проверкой версии"
          }
        },
        {
          "name": "Обновить политику уведомлений с проверкой версии",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/settings/notifications",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "settings",
                "notifications"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить политику уведомлений с проверкой версии"
          }
        },
        {
          "name": "Политика уведомлений CRM",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/settings/notifications",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "settings",
                "notifications"
              ]
            },
            "description": "Политика уведомлений CRM"
          }
        },
        {
          "name": "Получить настройки CRM",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/settings",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "settings"
              ]
            },
            "description": "Получить настройки CRM"
          }
        }
      ]
    },
    {
      "name": "CRM Tags",
      "item": [
        {
          "name": "DELETE /crm/tags/{{id}}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tags/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tags",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            }
          }
        },
        {
          "name": "GET /crm/tags",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tags"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "category",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "active",
                  "value": "",
                  "disabled": true
                }
              ]
            }
          }
        },
        {
          "name": "GET /crm/tags/{{id}}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tags/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tags",
                "{{id}}"
              ]
            }
          }
        },
        {
          "name": "PATCH /crm/tags/{{id}}",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tags/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tags",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "POST /crm/tags",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tags"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"name\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "CRM Tasks",
      "item": [
        {
          "name": "Вложения задачи",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{ownerId}}/files",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{ownerId}}",
                "files"
              ]
            },
            "description": "Вложения задачи"
          }
        },
        {
          "name": "Добавить пункт в чек-лист",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{taskId}}/checklists/{{checklistId}}/items",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{taskId}}",
                "checklists",
                "{{checklistId}}",
                "items"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Добавить пункт в чек-лист"
          }
        },
        {
          "name": "Заменить набор тегов задачи",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{resourceId}}/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{resourceId}}",
                "tags"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"tags\": [],\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Заменить набор тегов задачи"
          }
        },
        {
          "name": "Обновить задачу",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{id}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить задачу"
          }
        },
        {
          "name": "Обновить пункт с проверкой версии",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{taskId}}/checklists/{{checklistId}}/items/{{itemId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{taskId}}",
                "checklists",
                "{{checklistId}}",
                "items",
                "{{itemId}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить пункт с проверкой версии"
          }
        },
        {
          "name": "Обновить чек-лист с проверкой версии",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{taskId}}/checklists/{{checklistId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{taskId}}",
                "checklists",
                "{{checklistId}}"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Обновить чек-лист с проверкой версии"
          }
        },
        {
          "name": "Открепить файл от задачи",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{ownerId}}/files/{{fileId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{ownerId}}",
                "files",
                "{{fileId}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Открепить файл от задачи"
          }
        },
        {
          "name": "Пакетное создание или обновление задач",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/batch/upsert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "batch",
                "upsert"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"items\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Пакетное создание или обновление задач"
          }
        },
        {
          "name": "Пакетное чтение задач",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/batch/get",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "batch",
                "get"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"items\": []\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Пакетное чтение задач"
          }
        },
        {
          "name": "Полная перестановка порядка пунктов",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{taskId}}/checklists/{{checklistId}}/items/reorder",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{taskId}}",
                "checklists",
                "{{checklistId}}",
                "items",
                "reorder"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"order\": [],\n  \"expectedVersion\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Полная перестановка порядка пунктов"
          }
        },
        {
          "name": "Получить задачу",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{id}}"
              ]
            },
            "description": "Получить задачу"
          }
        },
        {
          "name": "Прикрепить файлы к задаче",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{ownerId}}/files",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{ownerId}}",
                "files"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Прикрепить файлы к задаче"
          }
        },
        {
          "name": "Создать задачу",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"example\",\n  \"authorId\": \"11111111-1111-4111-8111-111111111111\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Создать задачу"
          }
        },
        {
          "name": "Создать или обновить задачу по externalId",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/upsert",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "upsert"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"example\",\n  \"authorId\": \"11111111-1111-4111-8111-111111111111\",\n  \"externalId\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Создать или обновить задачу по externalId"
          }
        },
        {
          "name": "Создать чек-лист",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{taskId}}/checklists",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{taskId}}",
                "checklists"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"title\": \"example\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Создать чек-лист"
          }
        },
        {
          "name": "Список задач",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "externalId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "assigneeId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "contactId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "companyId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Список задач"
          }
        },
        {
          "name": "Теги задачи",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{resourceId}}/tags",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{resourceId}}",
                "tags"
              ]
            },
            "description": "Теги задачи"
          }
        },
        {
          "name": "Удалить задачу с проверкой версии",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{id}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Удалить задачу с проверкой версии"
          }
        },
        {
          "name": "Удалить пункт с проверкой версии",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{taskId}}/checklists/{{checklistId}}/items/{{itemId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{taskId}}",
                "checklists",
                "{{checklistId}}",
                "items",
                "{{itemId}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Удалить пункт с проверкой версии"
          }
        },
        {
          "name": "Удалить чек-лист с проверкой версии",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{taskId}}/checklists/{{checklistId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{taskId}}",
                "checklists",
                "{{checklistId}}"
              ],
              "query": [
                {
                  "key": "expectedVersion",
                  "value": "1",
                  "disabled": false
                }
              ]
            },
            "description": "Удалить чек-лист с проверкой версии"
          }
        },
        {
          "name": "Чек-листы задачи с пунктами",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/crm/tasks/{{taskId}}/checklists",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "crm",
                "tasks",
                "{{taskId}}",
                "checklists"
              ]
            },
            "description": "Чек-листы задачи с пунктами"
          }
        }
      ]
    },
    {
      "name": "Messaging",
      "item": [
        {
          "name": "Возможности Messaging API текущего приложения",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/capabilities",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "capabilities"
              ]
            },
            "description": "Возможности Messaging API текущего приложения"
          }
        },
        {
          "name": "Восстановить события после cursor; срок хранения 90 дней",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "events"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "30",
                  "disabled": true
                },
                {
                  "key": "includeChannelEvents",
                  "value": "false",
                  "disabled": true
                }
              ]
            },
            "description": "Восстановить события после cursor; срок хранения 90 дней"
          }
        },
        {
          "name": "Действия сотрудника и кандидаты назначения без приватных полей",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs/{{id}}/actions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs",
                "{{id}}",
                "actions"
              ],
              "query": [
                {
                  "key": "authorUserId",
                  "value": "11111111-1111-4111-8111-111111111111",
                  "disabled": false
                }
              ]
            },
            "description": "Действия сотрудника и кандидаты назначения без приватных полей"
          }
        },
        {
          "name": "Диалог и состояние передачи человеку",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs",
                "{{id}}"
              ]
            },
            "description": "Диалог и состояние передачи человеку"
          }
        },
        {
          "name": "Диалоги разрешённых каналов",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "30",
                  "disabled": true
                },
                {
                  "key": "queue",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "channelId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Диалоги разрешённых каналов"
          }
        },
        {
          "name": "Доступные приложению каналы",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/channels",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "channels"
              ]
            },
            "description": "Доступные приложению каналы"
          }
        },
        {
          "name": "Загрузить вложения приложения на 24 часа",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/messaging/uploads",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "uploads"
              ]
            },
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "files",
                  "type": "file",
                  "src": []
                }
              ]
            },
            "description": "Загрузить вложения приложения на 24 часа"
          }
        },
        {
          "name": "Операторское действие: assignment; обязательный CAS и actor",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs/{{id}}/assignment",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs",
                "{{id}}",
                "assignment"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"authorUserId\": \"11111111-1111-4111-8111-111111111111\",\n  \"expectedControlVersion\": 0,\n  \"targetOperatorId\": \"11111111-1111-4111-8111-111111111111\",\n  \"participation\": \"retain\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Операторское действие: assignment; обязательный CAS и actor"
          }
        },
        {
          "name": "Операторское действие: claim; обязательный CAS и actor",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs/{{id}}/claim",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs",
                "{{id}}",
                "claim"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"authorUserId\": \"11111111-1111-4111-8111-111111111111\",\n  \"expectedControlVersion\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Операторское действие: claim; обязательный CAS и actor"
          }
        },
        {
          "name": "Операторское действие: close; обязательный CAS и actor",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs/{{id}}/close",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs",
                "{{id}}",
                "close"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"authorUserId\": \"11111111-1111-4111-8111-111111111111\",\n  \"expectedControlVersion\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Операторское действие: close; обязательный CAS и actor"
          }
        },
        {
          "name": "Операторское действие: reopen; обязательный CAS и actor",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs/{{id}}/reopen",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs",
                "{{id}}",
                "reopen"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"authorUserId\": \"11111111-1111-4111-8111-111111111111\",\n  \"expectedControlVersion\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Операторское действие: reopen; обязательный CAS и actor"
          }
        },
        {
          "name": "Остановить автоматизацию и запросить человека",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs/{{id}}/handoff",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs",
                "{{id}}",
                "handoff"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Остановить автоматизацию и запросить человека"
          }
        },
        {
          "name": "Ответ или первый контакт; 202 означает сохранение команды, не доставку",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Idempotency-Key",
                "value": "{{idempotencyKey}}"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "messages"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"externalMessageId\": \"example-outbound-1\",\n  \"dialogId\": \"22222222-2222-4222-8222-222222222222\",\n  \"text\": \"Здравствуйте!\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "description": "Ответ или первый контакт; 202 означает сохранение команды, не доставку"
          }
        },
        {
          "name": "Публичная история диалога",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/dialogs/{{id}}/messages",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "dialogs",
                "{{id}}",
                "messages"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "30",
                  "disabled": true
                }
              ]
            },
            "description": "Публичная история диалога"
          }
        },
        {
          "name": "Скачать публичное вложение с повторной проверкой доступа приложения",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/messages/{{id}}/attachments/{{fileId}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "messages",
                "{{id}}",
                "attachments",
                "{{fileId}}"
              ]
            },
            "description": "Скачать публичное вложение с повторной проверкой доступа приложения"
          }
        },
        {
          "name": "Сообщение и состояние доставки",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/messages/{{id}}",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "messages",
                "{{id}}"
              ]
            },
            "description": "Сообщение и состояние доставки"
          }
        },
        {
          "name": "Текущая позиция событий для начала синхронизации",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/messaging/events/cursor",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "messaging",
                "events",
                "cursor"
              ],
              "query": [
                {
                  "key": "includeChannelEvents",
                  "value": "false",
                  "disabled": true
                }
              ]
            },
            "description": "Текущая позиция событий для начала синхронизации"
          }
        }
      ]
    }
  ]
}
