List All Configured Accounts

February 23, 2026

Table of contents

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

List all configured Dreamina accounts.

To get a specific account with live details use GET /accounts/account.

https://api.useapi.net/v1/dreamina/accounts

Request Headers

Authorization: Bearer {API token}

Responses

  • 200 OK

    Returns a map of all configured accounts, keyed by account identifier.

    {
      "US:user@example.com": {
        "account": "US:user@example.com",
        "email": "user@example.com",
        "region": "US",
        "maxJobs": 10,
        "sessionExpires": "2026-04-24T12:00:00.000Z"
      }
    }
    

    If no accounts are configured, returns an empty object {}.

  • 401 Unauthorized

    Invalid API token.

    {
      "error": "Unauthorized"
    }
    

Model

// Map of account identifier to account summary
{
  [account: string]: {
    account: string              // "US:user@example.com"
    email: string
    region: string               // "US"
    maxJobs: number
    sessionExpires: string       // ISO 8601 timestamp
    error?: string               // Error message if account has issues
  }
}

Examples

  • curl -H "Authorization: Bearer YOUR_API_TOKEN" \
         "https://api.useapi.net/v1/dreamina/accounts"
    
  • const token = 'YOUR_API_TOKEN';
    
    const response = await fetch('https://api.useapi.net/v1/dreamina/accounts', {
      headers: {
        'Authorization': `Bearer ${token}`
      }
    });
    
    const accounts = await response.json();
    console.log('Configured accounts:', accounts);
    
  • import requests
    
    token = 'YOUR_API_TOKEN'
    headers = {'Authorization': f'Bearer {token}'}
    
    response = requests.get('https://api.useapi.net/v1/dreamina/accounts', headers=headers)
    print('All accounts:', response.json())
    

Try It