Infomaniak Core Ressource icon

Infomaniak Core Ressource

Interact with Infomaniak Core Ressource API

Actions73

Profile → List User Information

AI-generated

Summary

Retrieves the authenticated Infomaniak user's profile information, optionally including related resources via the 'with' query parameter, and can return either the extracted data or the full HTTP response.

Inputs

  • authentication (required) — Selects the authentication method to use for the request. Options are OAuth2 (default) or API Key.
  • queryParameters — A collection of additional query parameters. The only defined parameter is 'with', a string that, when set, requests related resources to be included in the response.
  • returnFullResponse — When true, the operation returns the complete HTTP response (status code, headers, body). When false (default), only the extracted data is returned.

Output shape

An object containing the user's profile data. If returnFullResponse is false, this is the normalized profile object. If returnFullResponse is true, this is the full response object (including statusCode, headers, and body).

The optional 'with' query parameter can be used to request related data (e.g., associated organizations or billing info) as supported by the Infomaniak API.

Examples

Example 1: Basic profile retrieval

Use default OAuth2 authentication, leave queryParameters empty, and keep returnFullResponse false.

Example 2: Profile with related resources

Set queryParameters.with to a comma‑separated list of resource names (e.g., 'organizations,billing') to include those in the response.

Example 3: Full HTTP response

Enable returnFullResponse to inspect raw status codes, headers, or body when debugging.

Links

Discussion