Return email account's BoxTrapper configuration

This function retrieves an account's BoxTrapper configuration.

Important:

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

Authorizations:
query Parameters
email
required
string <email>

The account's email address.

Warning:

If you call this function in Webmail, the system ignores this parameter and defaults to the currently-authenticated email address.

Example: email=user@example.com

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 \
  BoxTrapper \
  get_configuration \
  email='user@example.com'

Response samples

Content type
application/json
{
  • "apiversion": 3,
  • "func": "get_configuration",
  • "module": "BoxTrapper",
  • "result": {
    • "data": {
      • "enable_auto_whitelist": 1,
      • "from_addresses": "user@example.com,user2@example.com",
      • "from_name": "User",
      • "queue_days": 14,
      • "spam_score": 2.5,
      • "whitelist_by_association": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}