Return domain's autoresponders

This function lists a domain's autoresponders.

Important:

When you disable the Receive Mail role, the system disables this function.

Authorizations:
query Parameters
domain
required
string <domain>

The domain name.

Example: domain=example.com
regex
string

A Perl Compatible Regular Expression (PCRE) that filters the results.

Example: regex=user

Responses

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object

Request samples

uapi --output=jsonpretty \
  --user=username \
  Email \
  list_auto_responders \
  domain='example.com'

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "list_auto_responders",
  • "module": "Email",
  • "result": {
    • "data": [
      • {
        • "email": "user@example.com",
        • "subject": "Autoresponder Subject"
        }
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": {
      • "transformed": 1
      },
    • "status": 1,
    • "warnings": null
    }
}