Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Tasks
  5. MailProxy tasks

Mailproxy info

API reference (XML/JSON) · Updated 2023-09-18

Function

The MailproxyInfo task displays the MailProxy data of a domain.

Description

Route: GET /mailproxy/{domain}
There is no need to send a body.

{
}
{
   "stid": "20190919-app3-dev-8027",
   "status": {
      "code": "S0514",
      "text": "MailProxy data has been inquired successfully.",
      "type": "SUCCESS"
   },
   "object": {
      "type": "MailProxy",
      "value": "example.com"
   },
   "data": [
      {
         "domain": "example.com",
         "created": "2019-09-19T12:40:02.000+0200",
         "updated": "2019-09-19T12:45:49.000+0200",
         "owner": {
            "context": 4,
            "user": "exampleuser"
         },
         "updater": {
            "context": 4,
            "user": "customer"
         },
         "target": "example1.com",
         "admin": "customer@example.com",
         "protection": "CUSTOM",
         "greylisting": false,
         "virus": "ACCEPT",
         "bannedFiles": "ACCEPT",
         "header": "DISABLED",
         "spam": {
            "modifySubject": false,
            "tagHeader": -555,
            "spam": 5.5,
            "kill": 555,
            "quarantineDigestInterval": 1440
         },
         "whitelist": {
            "emails": [
               "person2@good-example.com",
               "someone-else2@company123.net"
            ]
         },
         "blacklist": {
            "emails": [
               "bad-person2@example.de",
               "someone-bad2@company987.net"
            ]
         },
         "excludelist": {
            "emails": [
               "admin@example.com",
               "hostmaster@example.com"
            ]
         }
      }
   ]
}