SDK
Installation
npm install @nlxai/voice-plus-core
# or
yarn add @nlxai/voice-plus-coreInitialization
import { create } from "@nlxai/voice-plus-core";
// Initialize the client
const client = create({
apiKey: "YOUR_VOICE_PLUS_API_KEY", // Specific Voice+ Key (x-api-key)
workspaceId: "YOUR_WORKSPACE_ID", // Your Workspace ID (x-nlx-id)
scriptId: "YOUR_SCRIPT_ID", // The UUID of the journey/script
conversationId: "XXXXXXXXX", // Conversation ID for the active voice session
languageCode: "en-US" // Language code (e.g., en-US)
});Tracking steps
API Reference
create(config)
create(config)client.sendStep(stepId, [context])
client.sendStep(stepId, [context])Last updated

