Skip to content
Navigation

Update voice preferences for a persona

Set the TTS provider, voice and language for this persona. A full replace, not a merge — send all three fields. Returns the stored preferences.

PUT
https://truememory-api.mvstg.com/v1/voice/preferences/{persona_id}
View as Markdown

Authorization

  • HTTPBearerHTTPrequired

Path parameters

  • persona_idstringrequired

    Persona to scope voice preferences to

    format: uuid

Header parameters

  • X-On-Behalf-Ofoptional

    One of the following:

    • string
    • null
  • X-External-User-Idoptional

    One of the following:

    • string
    • null
  • X-App-Idoptional

    One of the following:

    • string
    • null

Request bodyJSONrequired

  • voicestringrequired

    Voice name for the provider

    minLength: 1
  • languagestringrequired

    BCP-47 language code

    minLength: 1
  • provideroptionalstring

    TTS provider

    minLength: 1 · default: "gemini"

Returns

200

Successful Response

JSON
  • providerstringrequired
  • voicestringrequired
  • languagestringrequired

422

Validation Error
JSON
  • detailoptionalarray ofobject
    • locarray ofrequired

      One of the following:

      • string
      • integer
    • msgstringrequired
    • typestringrequired
    • inputoptionalunknown
    • ctxoptionalobject

Type to search…

↑↓ navigate↵ selectEsc close