User Management > Accounts

Display an account

Returns a variety of information about a single Account specified by the requested unique identifier.

get/1/accounts/{account_id}

Path parameters

account_idinteger required

Unique identifier of the Account to request.

Query parameters

withstring

Optional : Allows loading additional data about a resource, which may include related resources.

Response

OK

result'success' | 'error' | 'asynchronous' required

Result of the HTTP request

Example response

{
  "result": "success",
  "data": {
    "id": 1234,
    "name": "Secret Organization",
    "legal_entity_type": "company",
    "created_at": 1294959600,
    "addresses": [
      {
        "id": 1234,
        "street": "Rue Eugène-Marziano 25",
        "zip": "1227",
        "city": "Genève",
        "type": "professional",
        "created_at": 1558601584,
        "country": {
          "id": 203,
          "name": "SWITZERLAND",
          "short_name": "CH"
        }
      }
    ],
    "timezone": "Europe/Zurich",
    "website": "https://www.infomaniak.com",
    "phone": "+41790000000",
    "fax": "+41220000000",
    "locale": "fr_FR",
    "language_id": 1,
    "logo": "https://www.infomaniak.com/img/common/logo-infomaniak.svg",
    "logo_square": "https://www.infomaniak.com/img/common/logo-infomaniak.svg",
    "order": {
      "waiting_payment": 1
    },
    "support_level": 1,
    "type": "owner",
    "tags": [
      {
        "id": 1234,
        "name": "My tag name",
        "color": 4,
        "product_count": 2
      }
    ],
    "nb_invitations": 2,
    "nb_users": 2,
    "count_owners": 2
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.