CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-elevenlabs--elevenlabs-js

Official Node.js SDK for ElevenLabs text-to-speech API with voice synthesis, real-time transcription, music generation, and conversational AI

Overall
score

86%

Evaluation86%

1.06x

Agent success when using this tile

Overview
Eval results
Files

sip-trunk.mddocs/conversational/

SIP Trunk Integration

Make outbound calls via SIP trunk.

Quick Reference

import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";

const client = new ElevenLabsClient({ apiKey: "your-api-key" });
// Access this API via: client.conversationalAi.sipTrunk

SIP Trunk Operations

/**
 * Handle an outbound call via SIP trunk
 * @param request - Call configuration with agent, phone numbers
 * @param requestOptions - Optional request configuration
 * @throws UnprocessableEntityError if request fails
 */
client.conversationalAi.sipTrunk.outboundCall(
  request: BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost,
  requestOptions?: RequestOptions
): HttpResponsePromise<SipTrunkOutboundCallResponse>;

interface BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost {
  /** Agent ID to use for the call */
  agentId: string;
  /** Agent's phone number ID */
  agentPhoneNumberId: string;
  /** Destination phone number */
  toNumber: string;
  /** Optional metadata */
  metadata?: Record<string, unknown>;
}

Install with Tessl CLI

npx tessl i tessl/npm-elevenlabs--elevenlabs-js

docs

index.md

tile.json