Retrieve Mureka API accounts configuration

December 2, 2024 (July 21, 2026)

Table of contents

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

This endpoint retrieves the complete list of configured API accounts for Mureka.

Setup Mureka

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

Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
Responses
  • 200 OK Secret values (token, refresh_token, password, cookie) are masked. authMode shows how each account authenticates: email (email + password), token (session/refresh-token), or absent (legacy Google cookie / direct token).

    {
      "150670177140737": {
        "account": "150670177140737",
        "token": "eyJ…secured…",
        "refresh_token": "eyJ…secured…",
        "password": "…secured…",
        "authMode": "email",
        "token_expires": 1787197734000,
        "refresh_expires": 1789789733000,
        "updated": 1784605734942,
        "email": "[email protected]",
        "hasAutoRefresh": true,
        "tokenIssuedDaysAgo": 0,
        "updatedUTC": "2026-07-21T03:48:54.000Z",
        "tokenExpiresUTC": "2026-08-20T03:48:54.000Z",
        "refreshExpiresUTC": "2026-09-19T03:48:53.000Z"
      },
      "42423380213761": {
        "account": "42423380213761",
        "token": "eyJ…secured…",
        "refresh_token": "eyJ…secured…",
        "authMode": "token",
        "token_expires": 1787114588000,
        "refresh_expires": 1789706570000,
        "updated": 1784522588916,
        "email": "[email protected]",
        "hasAutoRefresh": true,
        "tokenIssuedDaysAgo": 1,
        "updatedUTC": "2026-07-20T04:43:08.000Z",
        "tokenExpiresUTC": "2026-08-19T04:43:08.000Z",
        "refreshExpiresUTC": "2026-09-18T04:42:50.000Z"
      },
      "987654321": {
        "account": "987654321",
        "token": "def…secured…uvw",
        "updated": 1724514995,
        "updatedUTC": "2024-10-24T15:56:35.000Z",
        "tokenIssuedDaysAgo": 1,
        "hasAutoRefresh": false,
        "email": "[email protected]",
        "error": "Session refresh failed 2026-01-19T14:31:15.000Z, manual update required"
      }
    }
    
  • 401 Unauthorized

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

    Configuration not found. To create configuration use POST /accounts.

Model
{ // TypeScript, all fields are optional
    [account: string]: {
        account: string
        token: string                // masked
        refresh_token?: string       // masked — present on email and token accounts
        password?: string            // masked — present only on email (email + password) accounts
        authMode?: "email" | "token" // "email" = email + password (the API re-logs in automatically when the session ends); "token" = session/refresh-token only (re-link on expiry); absent = legacy Google cookie / direct token
        token_expires?: number       // access-token expiry, epoch ms (~30 days out)
        refresh_expires?: number     // refresh-token expiry, epoch ms (~60 days out)
        updated: number
        updatedUTC: string
        tokenExpiresUTC?: string
        refreshExpiresUTC?: string
        tokenIssuedDaysAgo: number
        hasAutoRefresh: boolean
        email?: string
        sessionCookie?: {            // legacy Google __Secure-3PSID accounts only
            name: string
            value: string
            domain: string
            path: string
            expires: string
            httpOnly: boolean
            secure: boolean
            sameSite: string
            added?: string
        }
        error?: string              // present when the account needs re-linking
    }
}
Examples
  • curl https://api.useapi.net/v1/mureka/accounts \
       -H "Accept: application/json" \
       -H "Authorization: Bearer …" 
    
  • const token = "API token";
    const apiUrl = "https://api.useapi.net/v1/mureka/accounts"; 
    const response = await fetch(apiUrl, {
      headers: {
        "Authorization": `Bearer ${token}`,
      },
    });
    const result = await response.json();
    console.log("response", {response, result});
    
  • import requests
    token = "API token"
    apiUrl = "https://api.useapi.net/v1/mureka/accounts"
    headers = {
        "Content-Type": "application/json", 
        "Authorization" : f"Bearer {token}"
    }
    response = requests.get(apiUrl, headers=headers)
    print(response, response.json())
    
Try It