Create Auth Session
Use this endpoint to create an authentication session for managing your KVM VPS. Simply provide your WHMCS credentials (email and password) to authenticate requests. Optionally, you can specify a kvm_id to limit the session access to a specific KVM instance
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.