Skip to main content

MailboxAdd

Creates a new mailbox within the specified network and returns the newly created mailbox record.

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

Method Signature

MailboxIDInfo MailboxAdd(string SessionID, int NetworkID, string UniqueID, string CompanyName, string Address1, string Address2, string City, string State, string Zip, string Phone, string AdminEmail)

Parameters

ParameterTypeRequiredDescription
SessionIDstringYesActive session token from Login() with NetworkAdmin or higher authority
NetworkIDintYesNumeric identifier of the parent network
UniqueIDstringYesUnique string identifier (slug) for the new mailbox; must be unique within the network
CompanyNamestringYesDisplay name of the mailbox company
Address1stringYesPrimary street address
Address2stringNoSecondary address line (suite, floor, etc.)
CitystringYesCity
StatestringYesState or province code
ZipstringYesPostal code
PhonestringYesPrimary contact phone number
AdminEmailstringYesEmail address for the mailbox administrator

Response Object — MailboxIDInfo

FieldTypeDescription
MailboxIDintSystem-assigned numeric identifier for the new mailbox
NetworkIDintNumeric identifier of the parent network
UniqueIDstringUnique string identifier as provided
CompanyNamestringDisplay name as provided
StatusStatusInitial status of the mailbox (typically Active)
CreateddateTimeUTC timestamp of mailbox creation
ModifieddateTimeUTC timestamp of the record (same as Created on initial add)
<!-- Example response XML -->
<MailboxIDInfo>
<MailboxID>200</MailboxID>
<NetworkID>1</NetworkID>
<UniqueID>NEWMAILBOX</UniqueID>
<CompanyName>New Mailbox Corp</CompanyName>
<Status>Active</Status>
<Created>2026-05-07T14:00:00</Created>
<Modified>2026-05-07T14:00:00</Modified>
</MailboxIDInfo>

Code Examples

// .NET 10 — dotnet-svcutil generated proxy
// Create a new mailbox under network 1 — requires NetworkAdmin authority
var newMailbox = await client.MailboxAddAsync(
sessionID,
networkId: 1,
uniqueID: "NEWMAILBOX",
companyName: "New Mailbox Corp",
address1: "789 Commerce Dr",
address2: "Suite 400",
city: "Chicago",
state: "IL",
zip: "60601",
phone: "312-555-9000",
adminEmail: "admin@newmailbox.com");

Console.WriteLine($"Created MailboxID: {newMailbox.MailboxID}");
Console.WriteLine($"Status: {newMailbox.Status}");

See Also

REST Equivalent

See Create MailboxPOST /v2/mailboxes/create.