Skip to main content
Version: v3

Update Agent Action

PUT 

/voice-ai/actions/:actionId

Update an existing action for a voice AI agent. Modifies the behavior and configuration of an agent action.

Request

Version stringrequired

API Version

Available optionsv3
actionId stringrequired

Unique identifier for the action

application/json

Bodyrequired

    agentIdstringrequired

    Agent ID to attach the action to

    locationIdstringrequired

    Location ID

    actionTypestringrequired

    Type of action

    Available optionsCALL_TRANSFERDATA_EXTRACTIONIN_CALL_DATA_EXTRACTIONWORKFLOW_TRIGGERSMSAPPOINTMENT_BOOKINGCUSTOM_ACTIONKNOWLEDGE_BASE
    namestringrequired

    Human-readable name for this action

    actionParametersobjectrequired

    Action parameters - structure varies by actionType

application/json

Action updated successfully

Schema
    idstringrequired

    Unique identifier for the created action

    actionTypestringrequired

    Type of action

    Available optionsCALL_TRANSFERDATA_EXTRACTIONIN_CALL_DATA_EXTRACTIONWORKFLOW_TRIGGERSMSAPPOINTMENT_BOOKINGCUSTOM_ACTIONKNOWLEDGE_BASE
    namestringrequired

    Human-readable name for this action

    actionParametersobjectrequired

    Action parameters - structure varies by actionType