返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

pamela-call

使用Pamela即时进行由AI驱动的电话呼叫。无延迟,无需电话设置,无需前期大量投入—只需自动呼叫即可。创建外呼电话,注册用于通话中操作的自定义工具,处理webhook,并构建React UI。当用户想要打电话、集成语音AI、构建IVR系统、导航电话菜单或自动化电话任务时使用。

person作者: jakexiaohubgithub

Pamela Calls - make AI phone calls instantly.

Make AI-powered phone calls with native phone tree navigation. ThisIsPamela is a voice AI platform that handles outbound calls, navigates phone trees, and integrates with your apps via SDKs, webhooks, and MCP.

Jump to: Installation · Quick Start · Use Cases · SDK Reference

Prerequisites

  • API subscription (required for API access)
  • API key from your API account
  • Node.js 18+ (for JS/React) or Python 3.8+ (for Python)

Installation

JavaScript/TypeScript:

npm install @thisispamela/sdk

Python:

pip install thisispamela

React:

npm install @thisispamela/react @thisispamela/sdk

CLI:

npm install -g @thisispamela/cli

MCP (for MCP-based agents):

npm install @thisispamela/mcp

Widget (embeddable, no framework):

npm install @thisispamela/widget

Latest versions: SDK / CLI / Widget / MCP / Python 1.1.3, React 1.1.4.

Getting Your API Key

  1. Sign up for an API subscription at developer.thisispamela.com
  2. Navigate to Settings → API Access
  3. Set up billing through Stripe
  4. Click "Create API Key"
  5. Save immediately - the full key (starts with pk_live_) is only shown once

Quick Start

Note: Phone numbers must be in E.164 format (e.g., +1234567890).

JavaScript

import { PamelaClient } from '@thisispamela/sdk';

const client = new PamelaClient({ apiKey: 'pk_live_...' });

const call = await client.createCall({
  to: '+1234567890',
  task: 'Call the pharmacy and check if my prescription is ready',
  voice: 'female',
  agent_name: 'Pamela',
});

const status = await client.getCall(call.id);
console.log(status.transcript);

Python

from pamela import PamelaClient

client = PamelaClient(api_key="pk_live_...")

call = client.create_call(
    to="+1234567890",
    task="Call the pharmacy and check if my prescription is ready",
    voice="female",
    agent_name="Pamela",
)

status = client.get_call(call["id"])
print(status["transcript"])

CLI

export PAMELA_API_KEY="pk_live_..."

thisispamela create-call \
  --to "+1234567890" \
  --task "Call the pharmacy and check if my prescription is ready"

Use Cases

| Use Case | Example Task | |----------|--------------| | Appointment Scheduling | "Call the dentist and schedule a cleaning for next week" | | Order Status | "Call the pharmacy and check if my prescription is ready" | | Customer Support | "Navigate the IVR menu to reach billing department" | | Information Gathering | "Call the restaurant and ask about vegetarian options" | | Follow-ups | "Call to confirm the appointment for tomorrow at 2pm" | | IVR Navigation | "Navigate the phone menu to reach a human representative" |

Key Features

  • Phone tree navigation - Automatically navigates IVR menus, handles holds and transfers
  • Custom tools - Register tools the AI can call mid-conversation
  • Real-time transcripts - Webhook updates as the call progresses
  • React components - Pre-built UI for call status and transcripts

SDK Reference

For detailed SDK documentation:

Webhooks

Pamela sends webhooks for call lifecycle events:

  • call.queued - Call created and queued
  • call.started - Call connected
  • call.completed - Call finished successfully
  • call.failed - Call failed
  • call.transcript_update - New transcript entries

Verify webhook signatures with the X-Pamela-Signature header.

Billing

  • $0.10/minute for API usage
  • Minimum 1 minute per call
  • Only connected calls are billed
  • API subscription required

Troubleshooting

"Invalid API key"

  • Verify key starts with pk_live_
  • Check key is active in the API settings panel

"403 Forbidden"

  • API subscription required
  • Check subscription status at developer.thisispamela.com

"Invalid phone number"

  • Use E.164 format with country code: +1234567890

Resources

  • Website: https://thisispamela.com
  • Docs: https://docs.thisispamela.com
  • Demo: https://demo.thisispamela.com
  • API: https://api.thisispamela.com
  • Discord (live support): https://discord.gg/cJj5CK8V
  • Email: support@thisispamela.com