notes voice update settings
PUT
/api/v1/notes/voice/settings
const url = 'https://example.com/api/v1/notes/voice/settings';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"context":"general","download_enabled":true,"structure":"prose","style":"casual"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/notes/voice/settings \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "context": "general", "download_enabled": true, "structure": "prose", "style": "casual" }'Route: /api/v1/notes/voice/settings. Inputs: . Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
A User’s local Voice defaults.
object
context
string
download_enabled
boolean
structure
string
style
string
Responses
Section titled “Responses”Media typeapplication/json
A User’s local Voice defaults.
object
context
string
download_enabled
boolean
structure
string
style
string
Example
{ "context": "general", "download_enabled": true, "structure": "prose", "style": "casual"}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}