GET api/2.0/mail/contacts
Returns lists of mail contacts.
Name |
Description |
Type |
Example |
search
sent in url
|
Text to search in contacts name or emails.
optional
|
string
|
some text
|
contactType
sent in url
|
Type of contacts
optional
|
number
|
1234
|
pageSize
sent in url
|
Count of contacts on page
optional
|
number
|
1234
|
fromIndex
sent in url
|
Page number
optional
|
number
|
1234
|
sortorder
sent in url
|
Sort order by name. String parameter: "ascending" - ascended, "descending" - descended.
|
string
|
some text
|
GET api/2.0/mail/contacts?search=some+text&fromIndex=1234&sortorder=some+text
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
List of filtered contacts