Send a message to the administrator

POST /api/2.0/settings/sendadmmail

Request

Sends a message to the administrator email when unauthorized users encounter issues accessing DocSpace.

Headers

Acceptenum of string

Can be one of: application/json, text/json, text/plain.

Content-Typeenum of string

Can be one of: application/json, application/*+json, text/json.

Body

Request parameters for administrator message settings

emailstringformat: email

Email

culturestring

Culture

messagestring

Message

Examples

POST /api/2.0/settings/sendadmmail HTTP/1.1
Accept: application/json
Content-Length: 86
Content-Type: application/json
Host: example.com

{
  "email": "Jaren81@gmail.com",
  "culture": "some text",
  "message": "some text"
}
curl --request POST \
  --url https://example.com/api/2.0/settings/sendadmmail \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "Jaren81@gmail.com",
  "culture": "some text",
  "message": "some text"
}'

Responses

200

Message about the result of sending a message

Get Help

  • If you have any questions about ONLYOFFICE DocSpace, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).