Retrieve Kling API account configuration and balance for email 
 April 18, 2025 (June 23, 2025)
Table of contents
This endpoint retrieves the configuration and balance information for a specific Kling account.
https://api.useapi.net/v1/kling/accounts/
The email value should correspond to an account configured previously via a POST /accounts request.
Request Headers
Authorization: Bearer {API token}
- API tokenis required, see Setup useapi.net for details.
Responses
-   { "email": "[email protected]", "session": { "userId": "user12345", "ExpireTime": 123456789, "ExpireTimeUTC": "2025-01-01T12:13:14.000Z" }, "maxJobs": 5, "password": "…secured…", "balance": { "points": [ { "orderId": "123456789", "type": "plan", "amount": 66000, "balance": 56000, "startTime": 123456789, "endTime": 123456789 } ], "tickets": [], "nextApplyTime": 123456789, "total": 56000 } }
-   { "error": "Unauthorized", "code": 401 }
-   Account configuration not found. To create configuration use POST /accounts. 
Model
{ // TypeScript, all fields are optional
  email: string
  session: {
    userId: string
    ExpireTime: number
    ExpireTimeUTC: string
  }
  maxJobs: number
  password: string
  balance: {
    points: Array<{
        orderId: string
        type: string
        amount: number
        balance: number
        startTime: number
        endTime: number
    }>
    tickets: Array<any>
    nextApplyTime: number
    total: number
  }
}
Examples
-  curl https://api.useapi.net/v1/kling/accounts/<email> \ -H "Accept: application/json" \ -H "Authorization: Bearer …"
-  const token = "API token"; const email = "Previously configured account email"; const apiUrl = `https://api.useapi.net/v1/kling/accounts/${email}`; const response = await fetch(apiUrl, { headers: { "Authorization": `Bearer ${token}`, }, }); const result = await response.json(); console.log("response", {response, result});
-  import requests token = "API token" email = "Previously configured account email" apiUrl = f"https://api.useapi.net/v1/kling/accounts/{email}" headers = { "Content-Type": "application/json", "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())