Namespace: "urn:zimbraAdmin"
GetMailbox SOAP Command

Get a Mailbox
Access: domain admin sufficient

note: this request is by default proxied to the account's home server

Authorization token required true
Admin Authorization token required true

GetMailboxRequest

    <GetMailboxRequest> ## GetMailboxRequest
        <mbox id="{account-id}" /> ## MailboxByAccountIdSelector
    </GetMailboxRequest>

The following table describes elements and attributes you can define within a <GetMailboxRequest> element:

XPath Required / Optional Description
/mbox Optional (0 or 1) Mailbox selector
/mbox@id Required (only 1) Type:String
Account ID

GetMailboxResponse

    <GetMailboxResponse> ## GetMailboxResponse
        <mbox mbxid="{mailbox-id} (int)" [id="{account-id}"] [s="{size-in-bytes} (Long)"] /> ## MailboxWithMailboxId
    </GetMailboxResponse>

The following table describes elements and attributes you can define within a <GetMailboxResponse> element:

XPath Required / Optional Description
/mbox Required (only 1) Information about mailbox
/mbox@mbxid Required (only 1) Type:int
Mailbox ID
/mbox@id Optional (0 or 1) Type:String
Account ID
/mbox@s Optional (0 or 1) Type:Long
Size in bytes