v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Email
Mailing Lists

Create one-time password for a mailing list

This function generates a one-time password (OTP) for a mailing list.

Note:

The generated password expires after one use.

Important:

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

get/Email/generate_mailman_otp

Query parameters

liststring required
Example:mylist

The mailing list.

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": "generate_mailman_otp",
  "module": "Email",
  "result": {
    "data": "LfFYLPRT_UoS4EDi9lGKuOFK8FaWQsozzPYn8WjM3",
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}