AI Agent

Update an agent

put/companies/{company}/agents/{agent}

Path parameters

companyinteger required
agentinteger required

Agent ID

Request body

namestring nullable
descriptionstring nullable
voiceIdstring nullable
voiceLanguagestring nullable
firstMessagestring nullable
promptstring nullable
scheduleIdinteger nullable
enabledboolean nullable

Turn the agent on or off. While off, numbers and call flows assigned to it fall through to their regular routing.

voicemailFallbackEnabledboolean nullable
messageCaptureEnabledboolean nullable
callbackCaptureEnabledboolean nullable
transferSummaryEnabledboolean nullable
expressiveVoiceEnabledboolean nullable
escalationPolicystring nullable
callerIdentityEnabledboolean nullable
callerIdentityFirstMessagestring nullable
dynamicVariablesobject nullable
toolIdsstring[] nullable
knowledgeBaseIdsinteger[] nullable

Example request

{
  "fallbacks": [
    {
      "destination": "nt:12"
    }
  ]
}

Response

Agent updated

idinteger
externalIdstring
providerstring
namestring nullable
descriptionstring nullable
industrystring nullable
googlePlaceIdstring nullable
voiceIdstring nullable
voiceLanguagestring
additionalLanguagesstring[]

Extra language codes the agent supports beyond its primary voiceLanguage.

languagePresetsobject

Per-language greeting/prompt overrides, keyed by language code.

scheduleIdinteger nullable
callTrainingAnalysisIdinteger nullable
websiteAnalysisIdinteger nullable
enabledboolean

While false the agent answers nothing: numbers and call flows assigned to it fall through to their regular routing.

voicemailFallbackEnabledboolean
transferSummaryEnabledboolean
escalationPolicystring nullable
callerIdentityEnabledboolean
messageCaptureEnabledboolean
callbackCaptureEnabledboolean
callerIdentityFirstMessagestring nullable
voiceSpeednumber float nullable
backgroundMusicSourceId'office1' | 'office2' | 'restaurant' | 'city' | 'typing' nullable
backgroundMusicVolumenumber float nullable
promptstring nullable
firstMessagestring nullable
dynamicVariablesobject nullable
toolIdsstring[] nullable
deployedAtstring date-time nullable
companyIdinteger nullable
businessUnitIdinteger nullable
knowledgeBaseIdsinteger[]
assignmentsCountinteger nullable
answeringCountinteger nullable

Assignments where the agent currently answers; null unless the endpoint computed it.

createdAtstring date-time
updatedAtstring date-time

Example response

{
  "fallbacks": [
    {
      "destination": {
        "value": "nt:12"
      }
    }
  ],
  "schedule": {
    "preset": "custom",
    "timezone": "America/Chicago",
    "timezone_source": "explicit"
  }
}

Changes

No recorded changes to this endpoint across all 2 revisions of this API.