v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
SSL
SNI Email Settings

Return status of domain's SNI mail services

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

Warning:

Mail SNI is not compatible with Webmail and will not function for any Webmail connection. Webmail connections use the cPanel service SSL certificate.

Note:

Mail SNI is always enabled.

  • Functions that enable Mail SNI succeed with a warning that Mail SNI is always enabled.
  • Functions that disable Mail SNI fail and make no changes.
get/SSL/mail_sni_status

Query parameters

domainstring domain required
Example:example.com

The account's domain.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "mail_sni_status",
  "module": "SSL",
  "result": {
    "data": {
      "enabled": 1
    },
    "status": 1
  }
}