Retrieve Kling API accounts configuration
April 18, 2025 (November 16, 2026)
Table of contents
You can connect several Kling accounts. Generation requests (video, image, avatar video and the other task-based endpoints) sent without email go to one of your healthy accounts that has a free job slot, picked at random, and each account runs at most its own maxJobs jobs at once. If every account is busy, the response is 429. Pass email to pin a job to one account.
Task, asset and voice calls, such as GET tasks/task_id, GET assets and GET videos/voices, need email when you have more than one account. Element and avatar calls without email go to one of your accounts and may not find an item saved on another. Each endpoint page says which kind it is. See Run several Kling accounts.
This endpoint retrieves the complete list of configured API accounts for Kling.
https://api.useapi.net/v1/kling/accounts
Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
# Alternatively you can use multipart/form-data
# Content-Type: multipart/form-data
API tokenis required, see Setup useapi.net for details.
Responses
-
{ "<email #1>": { "email": "<email #1>", "authMode": "password", "session": { "userId": 12345, "ExpireTime": 123456789, "ExpireTimeUTC": "2025-01-01T12:13:14.000Z" }, "maxJobs": 8, "password": "…secured…", "addedVia": "password", "created": "2026-11-14T23:04:11.000Z", "lastAdded": "2026-11-14T23:04:11.000Z" }, "<email #2>": { "email": "<email #2>", "authMode": "passToken", "session": { "userId": 67890, "ExpireTime": 123456789, "ExpireTimeUTC": "2025-01-01T12:13:14.000Z" }, "maxJobs": 3, "password": "…secured…", "addedVia": "setup-browser", "created": "2026-11-14T22:10:45.000Z", "lastAdded": "2026-11-14T22:10:45.000Z" } }authModeispasswordfor accounts added with email + password, orpassTokenfor accounts added through the automated setup or connected from the browser (see Setup Kling). ThepassToken,did, and password values are never returned.addedViasays how the account was added:setup-browser(the automated setup),connect(the connect tool orpassToken,didanduserIdsent to POST /accounts) orpassword(email and password).createdis when the account was first added andlastAddedwhen it was last added or updated. Accounts added before November 14, 2026 have noaddedViaorcreated. -
{ "error": "Unauthorized", "code": 401 } -
Configuration not found. To create configuration use POST /accounts.
Model
An object keyed by account email, each value holding that account’s settings, session and maxJobs.
Every account's settings, keyed by email, field by field
{ // TypeScript, all fields are optional
[email: string]: {
email: string
authMode: "password" | "passToken"
session: {
userId: number
ExpireTime: number
ExpireTimeUTC: string
}
maxJobs: number
password: string
addedVia: "setup-browser" | "connect" | "password"
created: string
lastAdded: string
error: string
}
}
Examples
-
curl https://api.useapi.net/v1/kling/accounts \ -H "Accept: application/json" \ -H "Authorization: Bearer …" -
const token = "API token"; const apiUrl = "https://api.useapi.net/v1/kling/accounts"; const response = await fetch(apiUrl, { headers: { "Authorization": `Bearer ${token}`, }, }); const result = await response.json(); console.log("response", {response, result}); -
import requests token = "API token" apiUrl = "https://api.useapi.net/v1/kling/accounts" headers = { "Content-Type": "application/json", "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())