Change assistant settings
PUT
/v1/agent
const url = 'https://your-machine.your-tailnet.ts.net/v1/agent';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"autoAnswer":true,"ownerName":"example","about":"example","voice":"Kore"}'};
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://your-machine.your-tailnet.ts.net/v1/agent \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "autoAnswer": true, "ownerName": "example", "about": "example", "voice": "Kore" }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
autoAnswer
Answer incoming calls with the assistant.
boolean
ownerName
Who it answers for.
string
about
Facts it may share with callers.
string
voice
string
Example
KoreResponses
Section titled “Responses”Saved settings.
Media typeapplication/json
object
settings
object
autoAnswer
Answer incoming calls with the assistant.
boolean
ownerName
Who it answers for.
string
about
Facts it may share with callers.
string
voice
string
Example
{ "settings": { "voice": "Kore" }}The request didn’t validate.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
issues
Validation details
Array
Example
{ "error": { "code": "VALIDATION_ERROR", "message": "invalid request", "issues": [] }}