Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Accesses > Devices → List Device

AI-generated

Summary

Lists Infomaniak mailbox access devices with optional pagination and response customization.

Inputs

  • authentication (required) — Authentication method to use (OAuth2 or API Key).
  • query_with — Optional extra query parameter to include additional data about the resource.
  • query_return — Optional parameter to change response shape; set to 'total' to return only the count of items.
  • query_page — Page number for pagination (0-based).
  • query_per_page — Number of items per page.
  • returnAll — When true, returns all items without pagination limits.
  • limit — Maximum number of items to return (1-500).
  • returnFullResponse — When true, returns the full response body instead of just identifiers.

Output shape

a list of device access objects

Pagination via limit and page; optional query_return can return total count; default returns full response if returnFullResponse true.

Examples

Example 1: Default list of devices using OAuth2

Authentication: OAuth2; Return All: true; Limit: 50

Example 2: API Key auth with custom query parameters

Authentication: API Key; query_with: expand=stats; query_page: 1; query_per_page: 20

Example 3: Return only total count of devices

Authentication: OAuth2; query_return: total

Links

Discussion