Infomaniak Kdrive icon

Infomaniak Kdrive

Interact with Infomaniak Kdrive API

Actions178

Drive > Invitations → Get User Invitation

AI-generated

Summary

Retrieve user invitation(s) from an Infomaniak Kdrive.

Inputs

  • authentication (required) — Authentication method to use for the API request. Defaults to OAuth2 if not specified. Select either OAuth2 or API Key depending on your Infomaniak setup.
  • path_drive_id (required) — Identifier of the Drive (Kdrive) containing the invitations. This is a required numeric parameter.
  • queryParameters — Optional collection of query parameters to refine the invitation retrieval. Available sub-parameters include: query_with (to load additional resource data), query_emails, query_status, query_user_ids, query_page, query_per_page, and query_total (to include total item count and page information in the response).
  • returnAll — When set to true (default), returns all matching invitations across pagination. When false, the limit parameter controls the maximum number of items returned.
  • limit — Maximum number of items to return. Only applies when returnAll is false. Minimum value is 1, maximum is 500, with a default of 50.
  • returnFullResponse — When true, returns the full API response body; when false (default), returns processed data suitable for n8n item creation.

Output shape

Invitation data object. If query_total is set to true, the response includes the total number of items and total pages alongside the invitation data.

The operation fetches user invitations from the specified Infomaniak Kdrive. Authentication is required (OAuth2 or API Key). The drive identifier must be provided. Additional filtering and pagination parameters are available via the queryParameters collection.

Examples

Example 1: Get all invitations for a drive using OAuth2 authentication.

authentication: OAuth2; path_drive_id: ; returnAll: true

Example 2: Get the first 20 invitations with total count for a drive.

authentication: OAuth2; path_drive_id: ; queryParameters.query_total: true; returnAll: false; limit: 20

Links

Discussion