Get Started
Portal api methods
Help

POST api/2.0/mailserver/mailboxes/add This function requires authentication

Description

Create mailbox

Parameters
Name Description Type Example
name
sent in body
string some text
local_part
sent in body
string some text
domain_id
sent in body
number 1234
user_id
sent in body
string some text
notifyCurrent
sent in body
Send message to creating mailbox's address Bool value true
notifyProfile
sent in body
Send message to email from user profile Bool value true
Example
POST api/2.0/mailserver/mailboxes/add
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "name": "some text",
  "local_part": "some text",
  "domain_id": 1234,
  "user_id": "some text",
  "notifyCurrent": true,
  "notifyProfile": true
}
Returns

MailboxData associated with tenant