Retrieve Mureka API account configuration for account
December 2, 2024 (January 20, 2026)
Table of contents
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
API tokenis required, see Setup useapi.net for details.
Responses
-
{ "account": "123456789", "token": "abc…secured…xyz", "updated": 1724514995, "updatedUTC": "2024-10-24T15:56:35.000Z", "tokenIssuedDaysAgo": 30, "hasAutoRefresh": true, "email": "user@gmail.com", "sessionCookie": { "name": "__Secure-3PSID", "value": "g.a000abc…secured…12345", "domain": ".google.com", "path": "/", "expires": "2026-02-15T12:00:00.000Z", "httpOnly": true, "secure": true, "sameSite": "None", "added": "2026-01-15T10:30:00.000Z" } } -
{ "error": "Unauthorized", "code": 401 } -
Configuration not found. To create configuration use POST /accounts.
Model
{ // TypeScript, all fields are optional
account: string
token: string
updated: number
updatedUTC: string
tokenIssuedDaysAgo: number
hasAutoRefresh: boolean
email?: string
sessionCookie?: {
name: string
value: string
domain: string
path: string
expires: string
httpOnly: boolean
secure: boolean
sameSite: string
added?: string
}
error?: string
}
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())