Return domain's SNI mail services status

This function retrieves the status of the domain's SNI mail services.

Note:

Functions that disable Mail SNI fail and make no changes.

SecurityBasicAuth
Request
query Parameters
domain
required
string

The account's domain.

Example: domain=example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/mail_sni_status
Request samples
whmapi1 --output=jsonpretty \
  mail_sni_status \
  domain='example.com'
Response samples
application/json
{
  • "data": {
    • "enabled": 1
    },
  • "metadata": {
    • "command": "mail_sni_status",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}