Skip to main content
POST
Update ElevenLabs voice setting

Authorizations

nonce
string
query
required

WordPress AJAX nonce (passed as form field, verified per-action)

Body

application/x-www-form-urlencoded
action
string
required
Allowed value: "sagescreen_update_sage_voice"
nonce
string
required

WP nonce for sagescreen_frontend_nonce

Example:

"abc123def456"

sage_id
integer
required

WordPress post ID of the council sage

Example:

1234

voice_id
string
required

ElevenLabs voice ID (or "none" to clear)

Example:

"EXAVITQu4vr4xnSDxMaL"

current_language
string

Current sage language code for compatibility check

Example:

"en"

Response

200 - application/json

Voice update result

success
boolean
Example:

true

data
object