List All Configured Accounts
February 23, 2026
Table of contents
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}
API tokenis required, see Setup useapi.net for details.
Responses
-
Returns a map of all configured accounts, keyed by account identifier.
{ "US:[email protected]": { "account": "US:[email protected]", "email": "[email protected]", "region": "US", "maxJobs": 10, "sessionExpires": "2026-04-24T12:00:00.000Z" } }If no accounts are configured, returns an empty object
{}. -
Invalid API token.
{ "error": "Unauthorized" }
Model
// Map of account identifier to account summary
{
[account: string]: {
account: string // "US:[email protected]"
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())