Retrieve specific LTX Studio API account configuration
June 3, 2025
Table of contents
This endpoint retrieves a specific LTX Studio account configuration by email address, including current balance information.
https://api.useapi.net/v1/ltxstudio/accounts/
Request Headers
Authorization: Bearer {API token}
API token
is required, see Setup useapi.net for details.
Path Parameters
email
is required, specify the email address of the LTX Studio account
Responses
-
{ "email": "[email protected]", "cookie": { "lt_id": "user123", "lt_token": "…secured…", "lt_refresh_token": "…secured…" }, "maxJobs": 20, "updatedUTC": "2025-06-03T12:13:14.000Z", "tokenExpireUTC": "2025-07-03T12:13:14.000Z", "balance": { "LTXStudio_token": 150 }, "latestCreatedAtMs": { "LTXStudio_token": 1717401194000 } }
-
{ "error": "Unauthorized", "code": 401 }
-
Account configuration not found for the specified email address.
Model
{ // TypeScript, all fields are optional
email: string
cookie: {
lt_id: string
lt_token: string
lt_refresh_token: string
[key: string]: string
}
maxJobs: number
updated: number
tokenExpire: number
updatedUTC?: string
tokenExpireUTC?: string
balance?: {
LTXStudio_token: number
}
latestCreatedAtMs?: {
LTXStudio_token: number
}
error?: string
}
Examples
-
curl https://api.useapi.net/v1/ltxstudio/accounts/[email protected] \ -H "Authorization: Bearer …"
-
const token = "API token"; const email = "[email protected]"; const apiUrl = `https://api.useapi.net/v1/ltxstudio/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 = "[email protected]" apiUrl = f"https://api.useapi.net/v1/ltxstudio/accounts/{email}" headers = { "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())