List accounts

June 3, 2026 (November 16, 2026)

Table of contents

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

List all Flow Music accounts configured under your useapi.net account.

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

Request Headers

Authorization: Bearer {API token}

Responses

  • 200 OK

    Every added account, keyed by its email, without tokens.

    {
      "[email protected]": {
        "email": "[email protected]",
        "tier": "plus",
        "subscription_plan": "plus-monthly",
        "provider": "g1_entitlement",
        "user_id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
        "maxJobs": 12,
        "added": "2026-06-01T12:00:00.000Z",
        "refreshed_at": "2026-06-01T12:00:00.000Z",
        "refreshed_count": 0,
        "access_token": "eyJ…redacted…zmQ",
        "access_token_expires_at": "2026-06-01T13:00:00.000Z",
        "refresh_token": "l6e…redacted…z4v",
        "session_id": "f0e1d2c3-b4a5-4768-9a0b-1c2d3e4f5a6b"
      }
    }
    
  • 400 Bad Request

    The request itself is wrong, or no usable Google Flow Music account is added. The error text says what to change.

    {
      "error": "Invalid JSON: Unexpected token 'o', \"not json\" is not valid JSON",
      "code": 400
    }
    
  • 401 Unauthorized

    The useapi.net API token is missing or wrong.

    {
      "error": "useapi.net ⁝ Unauthorized",
      "code": 401
    }
    
  • 402 Payment Required

    The useapi.net subscription is not active.

    {
      "error": "useapi.net ⁝ Your account has no subscription, please subscribe to our services before submitting requests",
      "code": 402
    }
    
  • 500 Internal Server Error

    Something failed on our side.

    {
      "error": "Cannot read properties of undefined (reading 'email')",
      "code": 500
    }
    

Model

An object keyed by account email ({} when none are configured).

The accounts, by email and the type it uses (Account)
// TypeScript, fields marked ? may be absent
{
  [email: string]: Account
}

Account:

{ // TypeScript, fields marked ? may be absent
  email: string  // the Google Flow Music account's email
  tier: "free" | "starter" | "plus" | "member" | "unknown"  // the account's Google Flow Music plan, read on each call
  subscription_plan?: string  // the plan Google Flow Music names, on a paid plan only
  provider?: string  // where the plan was bought, on a paid plan only
  user_id: string  // the account's Google Flow Music user id
  maxJobs: number  // how many songs and edits may run on the account at once
  added: string  // when the account was added, ISO 8601
  refreshed_at: string  // when its sign-in was last refreshed, ISO 8601
  refreshed_count: number  // how many times its sign-in was refreshed
  access_token: string  // the sign-in token, redacted
  access_token_expires_at: string  // when the sign-in token expires, ISO 8601
  refresh_token: string  // the refresh token, redacted
  session_id: string  // the account's session id
  error?: string  // why the account cannot be used. Present only when it needs to be added again
}

Examples

  • curl "https://api.useapi.net/v1/flowmusic/accounts" \
         -H "Authorization: Bearer YOUR_API_TOKEN"
    
  • const response = await fetch('https://api.useapi.net/v1/flowmusic/accounts', {
      headers: {
        'Authorization': 'Bearer YOUR_API_TOKEN'
      }
    })
    console.log(response.status, await response.json())
    
  • import requests
    
    response = requests.get(
        'https://api.useapi.net/v1/flowmusic/accounts',
        headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
    )
    print(response.status_code, response.json())
    

Try It