Prerequisites
- The plugin is installed and activated.
- You can sign in to the MailChannels Console for the parent account.
Create a parent API key
1
Open API keys in the Console
Sign in to the MailChannels Console and open Account > API Keys.
2
Create the key
Click Create API Key. Give it a label such as
WHMCS and set the scope to Sending Email (api). Copy the key. You cannot view it again.Connect the key in WHMCS
1
Open the addon
In the WHMCS admin area, go to Addons > MailChannels Email API.
2
Enter the key
Under 1. Connect the parent account, paste the key into Parent API key and click Validate and connect.

3
Confirm the connection
The plugin validates the key by retrieving your parent account’s current-period usage and listing sub-accounts. If both calls succeed, it encrypts the key with the WHMCS encryption API, saves it, and shows a success message with your current usage and limit.The Parent connection card changes to Connected and records the validation time.
The Shared parent ceiling card now shows your parent account’s used and total sends for the current billing period.

If validation fails
Disconnect
Once a key is connected, the connection form is collapsed. To remove the stored key, expand Disconnect under 1. Connect the parent account, typeDISCONNECT in the confirmation field, and click Disconnect.
Disconnecting deletes the encrypted key and the validation timestamp. It does not change any sub-account at MailChannels, and existing WHMCS service records are retained. Until you connect a key again, every provisioning action fails with the message Connect a MailChannels parent account in the addon module before provisioning.
Rotate the parent key
- Create a new API key in the MailChannels Console.
- In the addon, expand Replace the API key, paste the new key, and click Validate and connect. The new key replaces the old one.
- Revoke the old key in the Console.

