Updated April 8, 2025
Login to your WHMCS Admin.
Navigate to General > API Credentials.
Click on Create API Role.
Check all domain and product permissions from Allowed API Actions.
Navigate to API Credentials and click Generate New API Credentials.
Copy the Identifier and Secret that have now been generated.