Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Folders → List Folders

AI-generated

Summary

List mailbox folders for a given mail hosting and mailbox

Inputs

  • authentication — Authentication method; either OAuth2 or API Key
  • path_mail_hosting_id (required) — Unique identifier of the mail hosting containing the folders
  • path_mailbox_name (required) — Username (part before @) of the email address to query
  • returnFullResponse — If true, the full API response is returned; otherwise only folder metadata is returned

Output shape

A list of mailbox folders

Result may be paginated; additional fields can be included depending on query parameters

Examples

Example 1: List folders for a specific mailbox

authentication=OAuth2, path_mail_hosting_id=12, path_mailbox_name=john.doe, returnFullResponse=false

Links

Discussion