Retrieve Mureka API account configuration for account

December 2, 2024 (July 21, 2026)

Table of contents

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

Setup Mureka

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

The account value should correspond to an account configured previously via a POST /accounts request.

Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
Responses
  • 200 OK Secret values (token, refresh_token, password) are masked. authMode shows how the account authenticates — here email (email + password):

    {
        "account": "150670177140737",
        "token": "eyJ…secured…",
        "refresh_token": "eyJ…secured…",
        "password": "…secured…",
        "authMode": "email",
        "token_expires": 1787197734000,
        "refresh_expires": 1789789733000,
        "updated": 1784605734942,
        "email": "you@example.com",
        "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"
    }
    
  • 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
    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/<account> \
       -H "Accept: application/json" \
       -H "Authorization: Bearer …" 
    
  • const token = "API token";
    const account = "Previously configured account"; 
    const apiUrl = `https://api.useapi.net/v1/mureka/accounts/${account}`; 
    const response = await fetch(apiUrl, {
      headers: {
        "Authorization": `Bearer ${token}`,
      },
    });
    const result = await response.json();
    console.log("response", {response, result});
    
  • import requests
    token = "API token"
    account = "Previously configured account"
    apiUrl = f"https://api.useapi.net/v1/mureka/accounts/{account}"
    headers = {
        "Content-Type": "application/json", 
        "Authorization" : f"Bearer {token}"
    }
    response = requests.get(apiUrl, headers=headers)
    print(response, response.json())
    
Try It