{
  "opencollection": "1.0.0",
  "info": {
    "name": "Interactive Brokers Web Accounts Orders API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://www.interactivebrokers.com/authorize",
      "accessTokenUrl": "https://www.interactivebrokers.com/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Orders",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Place an order",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://localhost:5000/v1/api/iserver/account/:accountId/orders",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path",
                "description": "The account identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Places an order for the specified account. Supports market, limit, stop, and other order types across all supported asset classes."
        },
        {
          "info": {
            "name": "Get live orders",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://localhost:5000/v1/api/iserver/account/orders"
          },
          "docs": "Returns a list of live orders for the current session."
        }
      ]
    }
  ],
  "bundled": true
}