POST
/
kvm
/
v2
/
get
/
auth
Create AUTH-session
curl --request POST \
  --url https://session.edisglobal.com/kvm/v2/get/auth \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data email=your-email@example.com \
  --data 'pw=<string>' \
  --data 'kvm_id=<string>'
{
  "data": {
    "kvm_123456_789012": {
      "api_host": "123456.edisglobal.com",
      "api_rdns": "dns-api.edis.at",
      "kvm_id": "kvm_123456_789012",
      "valid_until": 1737476000,
      "signature": "12345678901234567890123456789012345678901234567890",
      "suspended": "n",
      "description": "test-vps-1",
      "lps": "01",
      "lps_ispremium": false
    },
    "kvm_234567_890123": {
      "api_host": "234567.edisglobal.com",
      "api_rdns": "dns-api.edis.at",
      "kvm_id": "kvm_234567_890123",
      "valid_until": 1737479000,
      "signature": "23456789012345678901234567890123456789012345678901",
      "suspended": "n",
      "description": "test-vps-2",
      "lps": "02",
      "lps_ispremium": true
    }
  },
  "status": "success"
}

Body

application/x-www-form-urlencoded

Required credentials to authenticate and create a session. Optionally, you can include kvm_id to target a specific KVM.

email
string

Your WHMCS account email address used for login. This is the same email you use to sign in to your WHMCS client area.

Example:

"your-email@example.com"

pw
string

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 --data flag.

🔧 You can encode your password using this online tool.

Example: your-password

kvm_id
string

(Optional) The unique identifier of the KVM to filter the session.
If not provided, the session applies to all KVMs associated with your account.

Response

Authentication session created successfully.

data
object
status
string

The status of the session creation.

Example:

"success"