VocalLabs icon

VocalLabs

Interact with VocalLabs AI Voice Calling API

Actions90

Agent → Add Keyword

AI-generated

Summary

Add keyword objects to a VocalLabs agent.

Inputs

  • agent_id (required) — The ID of the agent
  • objects — Array of keyword objects with agent_id, keyword, replacement fields

Output shape

Success status or updated agent object returned from the VocalLabs API.

Source function: dist/nodes/Vocallabs/actions/agent.actions.js::addKeyword

Examples

Example 1: Add a single keyword replacement to an agent.

Provide agent_id as a string, and objects as a JSON array containing one object with keyword and replacement fields.

Discussion