Publish or hide a character
October 16, 2026
Table of contents
https://api.useapi.net/v1/mureka/music/characters-publish
Make a character private, so only you can see it, or publish it on mureka.ai again. A private character works the same in POST /music/create-advanced.
New characters from POST /music/characters are public unless created with private: true.
Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
# Alternatively you can use multipart/form-data
# Content-Type: multipart/form-data
API tokenis required, see Setup useapi.net for details.
Request Body
{
"account": "12345678901234",
"character_id": 166751507709953,
"private": true
}
-
accountis optional when only one account is configured. However, if you have multiple accounts configured, this parameter becomes required. -
character_idis required, theidfrom GET /music/characters. -
privateis optional (default:false).
truemakes the character private.falsepublishes it on mureka.ai.
Responses
-
{ "character_id": 166751507709953, "private": true } -
{ "error": "Parameter character_id is required", "code": 400 } -
{ "error": "Wrong username/password combination.", "code": 401 } -
596 Account Error
Returned when the account has an error state preventing API calls.
{ "error": "Session refresh failed 2026-01-19T14:31:15.000Z, manual update required", "code": "REFRESH_FAILED" }Possible error codes:
ACCOUNT_ERROR- Account has a blocking errorREFRESH_FAILED- Automatic token refresh failedREFRESH_IN_PROGRESS- Token refresh already in progress, retry shortlySESSION_EXPIRED- Session expired and no auto-refresh availableCOOKIE_EXPIRED- Google cookie has expired
To resolve, update your account configuration via POST /accounts.
Examples
-
curl -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer …" \ -X POST https://api.useapi.net/v1/mureka/music/characters-publish \ -d '{"account": "…", "character_id": …, "private": true}' -
const account = "12345678901234"; const character_id = 166751507709953; const apiUrl = `https://api.useapi.net/v1/mureka/music/characters-publish`; const api_token = "API token"; const data = { method: 'POST', headers: { 'Authorization': `Bearer ${api_token}`, 'Content-Type': 'application/json' } }; data.body = JSON.stringify({ account, character_id, private: true }); const response = await fetch(apiUrl, data); const result = await response.json(); console.log("response", {response, result}); -
import requests apiUrl = f"https://api.useapi.net/v1/mureka/music/characters-publish" api_token = "API token" headers = { "Content-Type": "application/json", "Authorization" : f"Bearer {api_token}" } body = { "account": "12345678901234", "character_id": 166751507709953, "private": True } response = requests.post(apiUrl, headers=headers, json=body) print(response, response.json())