Skip to main content
POST
Update staging agent configuration

Authorizations

token
string
query
required

Vida API Token

Query Parameters

targetAccountId
integer
required

Account whose staging configuration should be updated.

Body

application/json

Writable staging configuration. Omitted fields retain their current values.

title
string

Display name for the agent.

description
string

Short description of the agent.

brandName
string

Brand name the agent represents.

agentInstructions
string

Primary instructions for voice, messaging, and Computer Agent work.

welcomeMessage
string

Greeting used at the beginning of a conversation. Prefix with prompt: to generate the greeting from instructions.

Web pages supplied as agent knowledge.

keywords
string[]

Searchable labels for the agent.

agentModel
string

Model identifier returned by GET /api/v2/models/supported.

agentThinking
enum<string> | null

Reasoning budget for supported models; null disables it.

Available options:
low
agentThinkingModel
string | null

Model used by Pause & Think and optional post-conversation reasoning.

postConvoForceThinking
boolean

Use the thinking model for post-conversation work when the primary model is not reasoning-enabled.

timezone
string

IANA timezone used for scheduling and time-sensitive instructions.

Example:

"America/Chicago"

agentVoice
string

Exact voice ID returned by GET /api/v2/agent/voices.

agentTtsEngine
string | null

Text-to-speech engine used when speech-to-speech mode is disabled.

agentLang
enum<string>

Primary spoken language. Use multi only with a compatible voice and speech mode.

Available options:
en-US,
multi,
es-MX,
es-ES,
es-US
agentS2SEngine
enum<string> | null

Speech-to-speech engine; null uses separate speech recognition and synthesis.

Available options:
openai,
gemini
agentSttEngine
enum<string>

Speech recognition engine used when speech-to-speech mode is disabled.

Available options:
google,
deepgram,
deepgramflux,
openai
agentSttSmartFormatting
boolean

Apply smart formatting when supported by the selected speech recognition engine.

actions
object[]

Functions enabled for this agent.

reportingFields
object[]

Agent-level structured fields collected after a conversation.

apps
object[]

Installed apps assigned to this agent.

skills
object[]

Computer Agent skills assigned at publish time.

computerDelegateAccountId
integer | null

Account ID of the Computer Agent that performs delegated Computer work.

heartbeatInstructions
string

Work the Computer Agent should perform during scheduled check-ins.

heartbeatEvery
string

Heartbeat interval such as 15m, 1h, or 1h30m.

heartbeatConfig
object

Advanced Computer Agent heartbeat settings. This object replaces the previous advanced settings when supplied, so preserve fields you do not intend to remove.

backgroundAudio

Optional HTTP(S) audio played during calls.

waitOnAnswer
integer

Milliseconds to wait before speaking the greeting.

Required range: x >= 0
waitToGreet
boolean

Wait for the caller to speak before delivering the greeting.

postAnswerDtmf
string

DTMF digits sent immediately after an outbound call is answered.

interruptionWordCount
integer

Words required before caller speech interrupts the agent.

Required range: x >= 0
interruptionMinimumSpeakingTime
number

Seconds the agent must speak before interruption is allowed.

Required range: x >= 0
speakingTimeout
integer

Milliseconds of silence used to detect the end of caller speech.

Required range: x >= 0
speechProcessingDelay
integer

Milliseconds to wait before sending recognized speech to the model.

Required range: x >= 0
speechProcessingDelayInterruptionStep
integer

Milliseconds added to speech processing delay after an interruption.

Required range: x >= 0
speechProcessingDelayMaxMultiplier
integer

Maximum interruption multiplier applied to speech processing delay.

Required range: x >= 0
callerResponseTimeout
number

Seconds of caller silence before the agent checks in.

Required range: x >= 0
callerResponseTimeoutHangupCounter
integer

Unanswered check-ins before the agent ends the call.

Required range: x >= 0
ignoreSpeech
string[]

Caller phrases that should not be treated as a response.

noContactInjection
boolean

Exclude the caller contact record from agent context.

noConvoHistory
boolean

Exclude prior conversation summaries from agent context.

autoRecordingNotification
enum<string>

Recording notice policy: jurisdiction-based, never, or every call.

Available options:
true,
false,
always
recordingNotificationPhrase
string

Phrase spoken when a recording notice is required.

preAnswerRingTime
integer | null

Seconds to ring before answering an inbound call.

Required range: 0 <= x <= 60
preAnswerSkipProcessingResults
boolean

Place raw Pre Answer results directly into context without an additional model pass.

useAgentNumberForTransfers
boolean

Use the agent phone number as caller ID for transfers.

confirmTransfers
boolean

Require the recipient to confirm before completing a transfer.

monitorTransfers
boolean

Continue monitoring the call after a transfer.

attendedTransfers
boolean

Keep the agent with the caller while the recipient is reached.

attendedTransferBridgeTrigger
string | null

Recipient response required to bridge an attended transfer.

attendedTransferCheckInTimeout
integer

Seconds before the agent checks in during an attended transfer.

Required range: x >= 0
transferConfirmTimeout
integer

Seconds to wait for transfer confirmation.

Required range: x >= 0
announceTransferConnecting
boolean

Announce that a transfer is being connected.

announceTransferConnected
boolean

Announce when a transfer has connected.

preTransferNotificationStart
string

Message spoken when Pre Transfer work begins.

preTransferNotificationEnd
string

Message spoken when Pre Transfer work completes.

enableRingback
boolean

Play ringback while the agent is connecting an outbound call.

enableTransferRingback
boolean

Play ringback while a transfer is connecting.

cnamAutoRejectRegex
string | null

Pattern used to reject matching inbound caller names before answer.

cnamAutoRejectCode
integer

SIP response code used when the reject pattern matches.

cnamAutoTransferRegex
string | null

Pattern used to transfer matching inbound caller names before answer.

cnamAutoTransferDestination
string | null

Phone number, extension, or PBX destination used by automatic transfer.

Response

200 - application/json

Staging configuration updated

success
boolean
Example:

true

message
string
Example:

"Campaign updated successfully"