Get Started
Usage API
More information

GET api/2.0/mail/alert This function requires authentication

Description

Returns a list of all the alerts for the authenticated user.

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/mail/alert
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

List of alerts

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "id": 1234,
      "type": 1,
      "id_mailbox": 1234,
      "data": "data"
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <id>1234</id>
    <type>1</type>
    <id_mailbox>1234</id_mailbox>
    <data>data</data>
  </response>
</result>