{
  "opencollection": "1.0.0",
  "info": {
    "name": "Truto Admin Accounts Opportunities API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Opportunities",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List opportunities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.truto.one/opportunities",
            "params": [
              {
                "name": "integrated_account_id",
                "value": "",
                "type": "query",
                "description": "The ID of the integrated account (connected CRM provider instance) to query. Required for all Unified API requests."
              },
              {
                "name": "account_id",
                "value": "",
                "type": "query",
                "description": "Filter by account ID."
              },
              {
                "name": "stage_id",
                "value": "",
                "type": "query",
                "description": "Filter by pipeline stage ID."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Filter by opportunity status."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "List sales opportunities from the connected CRM provider."
        },
        {
          "info": {
            "name": "Create opportunity",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.truto.one/opportunities",
            "params": [
              {
                "name": "integrated_account_id",
                "value": "",
                "type": "query",
                "description": "The ID of the integrated account (connected CRM provider instance) to query. Required for all Unified API requests."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Create a new opportunity in the connected CRM provider."
        }
      ]
    }
  ],
  "bundled": true
}