User

List User Companies

Lists the companies controlled by the current user.

get/user/companies

Request

  • Base URL: https://api-v2.fattureincloud.it
  • URL: https://api-v2.fattureincloud.it/user/companies
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api-v2.fattureincloud.it/oauth/authorize, token URL https://api-v2.fattureincloud.it/oauth/token)
    • HTTP bearer

Response

User Companies.

Example response

{
  "data": {
    "companies": [
      {
        "id": 12345,
        "name": "Rossi S.r.l.",
        "access_token": "fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba",
        "controlled_companies": [
          {
            "id": 12345,
            "name": "Rossi S.r.l.",
            "access_token": "fd015011d2dbf8a9d38e810b325b11b56d02e51688e5261a245933b8e677b8b44ff5f0fe5ccaaf1d7157fa13ca72ab62b6183db0667a576a0e19164801c18c4fd81273fc1f95bf460b869015cf99acba"
          }
        ]
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.