SDKs & Docs

SDKs & Documentation

Official SDKs, code samples, and documentation for integrating VoiceMaster into your applications.

JavaScript

v2.4.1

Install

npm install @voicemaster/sdk

TypeScript

v2.4.1

Install

npm install @voicemaster/sdk

Python

v1.8.2

Install

pip install voicemaster

PHP

v1.5.0

Install

composer require voicemaster/sdk

Laravel

v1.3.0

Install

composer require voicemaster/laravel

Flutter

v0.9.2

Install

flutter pub add voicemaster

Kotlin

v1.6.0

Install

implementation "ai.voicemaster:sdk:1.6.0"

Java

v1.6.0

Install

implementation "ai.voicemaster:sdk:1.6.0"

C#

v1.4.0

Install

dotnet add package VoiceMaster.Sdk

cURL

Install

No installation required

Quick Start

Get up and running in minutes with any SDK.

import { VoiceMaster } from '@voicemaster/sdk';

const vm = new VoiceMaster({ apiKey: process.env.VM_API_KEY });

// Transcribe audio
const result = await vm.speech.transcribe({
  audio_url: 'https://example.com/audio.wav',
  language: 'twi',
  translate: true,
});

console.log(result.transcript);

Webhooks

Receive real-time event notifications.

Webhook Events

Configure webhook endpoints to receive event notifications when actions occur in VoiceMaster. All webhooks are signed with HMAC-SHA256 using your webhook secret.

phrase.matched

Fired when a phrase is matched against the library

POST
conversation.completed

Fired when an agent conversation ends

POST
harvest.completed

Fired when a harvest job finishes processing

POST
agent.escalated

Fired when an agent escalates to a human

POST
statement.confirmed

Fired when a statement is confirmed

POST
clip.approved

Fired when a harvest clip is approved

POST
member.invited

Fired when a new member is invited

POST
View full webhook docs