Retrieve specific LTX Studio API account configuration

June 3, 2025

Table of contents

  1. Request Headers
  2. Path Parameters
  3. Responses
  4. Model
  5. Examples
  6. Try It

This endpoint retrieves a specific LTX Studio account configuration by email address, including current balance information.

https://api.useapi.net/v1/ltxstudio/accounts/email

Request Headers
Authorization: Bearer {API token}
Path Parameters
  • email is required, specify the email address of the LTX Studio account
Responses
  • 200 OK

    {
        "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
        }
    }
    
  • 401 Unauthorized

    {
      "error": "Unauthorized",
      "code": 401
    }
    
  • 404 Not Found

    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())
    
Try It