Get Started
Portal api methods
Help

POST api/2.0/mail/contact/add This function requires authentication

Description

Create mail contact

Parameters
Name Description Type Example
name
sent in body
Contact's name string some text
description
sent in body
Description of contact string some text
emails
sent in body
List of emails System.Collections.Generic.List`1[System.String]
phoneNumbers
sent in body
List of phone numbers System.Collections.Generic.List`1[System.String]
Example
POST api/2.0/mail/contact/add
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "name": "some text",
  "description": "some text",
  "emails": [
    "some text"
  ],
  "phoneNumbers": [
    "some text"
  ]
}
Returns

Information about created contact