{
  "opencollection": "1.0.0",
  "info": {
    "name": "Puzzle Accounting Accounts Companies API",
    "version": "0.19.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://puzzle-api.readme.io/reference",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Companies",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List companies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/companies"
          },
          "docs": "List the companies accessible to the authenticated partner. Returned company IDs scope all other endpoints."
        },
        {
          "info": {
            "name": "Get a company",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://staging.southparkdata.com/rest/v0/company/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The company ID."
              }
            ]
          },
          "docs": "Retrieve a single company and its accounting configuration."
        }
      ]
    }
  ],
  "bundled": true
}