Skip to main content

MailboxInfo

Retrieves detailed information about a single mailbox by its MailboxID.

:::caution Established API The SOAP API is in maintenance mode. For new integrations use the REST equivalent. :::

Method Signature

MailboxIDInfo MailboxInfo(string SessionID, int MailboxID)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login()
MailboxIDintYesNumeric identifier of the mailbox to retrieve

Response Object — MailboxIDInfo

FieldTypeDescription
MailboxIDintUnique numeric identifier for the mailbox
NetworkIDintNumeric identifier of the parent network
UniqueIDstringUnique string identifier (slug) for the mailbox
CompanyNamestringDisplay name of the mailbox company
StatusStatusCurrent status of the mailbox (see ENUMs)
CreateddateTimeUTC timestamp when the mailbox record was created
ModifieddateTimeUTC timestamp of the most recent modification
<!-- Example response XML -->
<MailboxIDInfo>
<MailboxID>100</MailboxID>
<NetworkID>1</NetworkID>
<UniqueID>MYMAILBOX</UniqueID>
<CompanyName>My Mailbox Company</CompanyName>
<Status>Active</Status>
<Created>2021-03-20T00:00:00</Created>
<Modified>2024-11-15T09:22:00</Modified>
</MailboxIDInfo>

ENUMs

Status

See Status enum for all possible values.

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Retrieve mailbox details for a known MailboxID
var result = await client.MailboxInfoAsync(sessionID, mailboxId);

Console.WriteLine($"Mailbox: {result.CompanyName} (ID: {result.MailboxID})");
Console.WriteLine($"Network: {result.NetworkID} | Status: {result.Status}");
Console.WriteLine($"Created: {result.Created:yyyy-MM-dd}");

REST Equivalent

See Get MailboxGET /v2/mailboxes/{id}.