{
  "opencollection": "1.0.0",
  "info": {
    "name": "Autodesk ACC Account Admin Account Users Companies API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://developer.api.autodesk.com/authentication/v2/authorize",
      "accessTokenUrl": "https://developer.api.autodesk.com/authentication/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Companies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Autodesk List Companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://developer.api.autodesk.com/construction/admin/v1/accounts/:accountId/companies",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              },
              {
                "name": "filter[name]",
                "value": "",
                "type": "query"
              },
              {
                "name": "filter[trade]",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "offset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns partner companies in the account directory."
        },
        {
          "info": {
            "name": "Autodesk Create Company",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://developer.api.autodesk.com/construction/admin/v1/accounts/:accountId/companies",
            "params": [
              {
                "name": "accountId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "https://developer.api.autodesk.com/authentication/v2/authorize",
              "accessTokenUrl": "https://developer.api.autodesk.com/authentication/v2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creates a new partner company in the account directory."
        }
      ]
    }
  ],
  "bundled": true
}