Body
Required credentials to authenticate and create a session. Optionally, you can include kvm_id to target a specific KVM.
Your WHMCS account email address used for login. This is the same email you use to sign in to your WHMCS client area.
"your-email@example.com"
Your WHMCS account password.
⚠️ Important: If your password contains special characters (such as +, &, =), the default cURL snippet using --data may not work correctly.
✅ To avoid issues:
- Use
--data-urlencode "pw=your-password", or - URL-encode your password manually before using it with the
--dataflag.
🔧 You can encode your password using this online tool.
Example: your-password
(Optional) The unique identifier of the KVM to filter the session.
If not provided, the session applies to all KVMs associated with your account.