APIリファレンス
Live — v1 available now

REST API

AI音声通話をトリガーし、連絡先を同期し、任意のバックエンド、CRM、またはノーコードツールから通話結果を読み取ります。

Base URL:https://outboundcalls.ai/api/v1

Authentication

Generate an API key from Dashboard → Settings → API KeysすべてのリクエストでBearerトークンとして渡します。

Authorization: Bearer oc_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

キーは静止時にハッシュ化され、表示されます。only once作成時に。設定ページからいつでも回転または取り消すことができます。

接続できるもの

APIはプレーンREST + Bearerトークンで、HTTPSを話すものであれば何でも動作します — SDKは不要です。

Zapier

Webhooks + HTTP

新しいリードがCRM、スプレッドシート、またはフォームに追加されたときにコールをトリガー。

Make (Integromat)

HTTPモジュール

視覚的なワークフローを構築:フォーム → OutboundCalls → Slack/Email/CRM更新。

n8n

HTTPリクエストノード

セルフホスト型の自動化。データベース、スケジューラー、またはメッセージングスタックを接続。

HubSpot / Salesforce / Pipedrive

CRM

新しい連絡先をキャンペーンに自動的にプッシュ;コールの要約をアクティビティレコードとして取得。

カスタムバックエンド(Node、Python、PHP、Go、Ruby)

任意の言語

標準REST + ベアラートークン。HTTPSコールを行えるものであれば何でも動作。

ノーコードプラットフォーム(Bubble、Retool、Airtable Automations)

ノーコード

エンドポイントをワークフローアクションに接続 — SDKは不要。

実際に構築できるワークフロー

新しいリードがあなたのTypeformに記入 → 30秒以内に電話をかける
Booking confirmation in Calendly → AI agent calls 24h before to confirm
Failed Stripe payment → reminder call instead of just an email
CRMからの毎日のCSVアップロード → AIエージェントが営業時間中に各連絡先に電話をかける
WhatsApp inbound message → callback from voice agent if requested
長期キャンペーンの進捗が15分ごとにデータウェアハウスに同期される

Endpoints

アカウント

GET/me

エージェント

GET/agents
GET/agents/:id

連絡先

GET/contacts
POST/contacts

コール

POST/calls
GET/calls
GET/calls/:id

キャンペーン

GET/campaigns
GET/campaigns/:id

エンドポイントの追加(エージェントの作成/更新/削除、CSVインポート、キャンペーン制御)がロードマップにあります。緊急に必要ですか?Tell us.

Code examples

cURL
# Trigger an outbound call from your agent
curl -X POST https://outboundcalls.ai/api/v1/calls \
  -H "Authorization: Bearer oc_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "agentId": "clxAGENT123",
    "toNumber": "+14155551212",
    "contactId": "clxCONTACT456"
  }'

# Response
{
  "id": "clxCALL789",
  "phoneFrom": "+12025550100",
  "phoneTo": "+14155551212",
  "status": "RINGING",
  "elevenlabsConvId": "conv_abc...",
  "createdAt": "2026-04-29T10:32:11.000Z"
}
JavaScript / Node.js
// Trigger a call from any Node.js / browser app
const r = await fetch('https://outboundcalls.ai/api/v1/calls', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${process.env.OC_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    agentId: 'clxAGENT123',
    toNumber: '+14155551212',
  }),
});
const call = await r.json();
console.log(call.id, call.status); // RINGING

// Later — fetch transcript & summary
const detail = await fetch(`https://outboundcalls.ai/api/v1/calls/${call.id}`, {
  headers: { Authorization: `Bearer ${process.env.OC_API_KEY}` },
}).then(r => r.json());
console.log(detail.summary, detail.transcript);

Post-call webhook

各エージェントにWebhook URLを設定します。通話の後、OutboundCallsは署名されたJSONペイロードをエンドポイントにPOSTします。

  • Full transcript
  • Recording URL
  • AI-generated summary
  • Sentiment score
  • Goal achieved (true/false)
  • Extracted data fields
  • Duration + credits charged
  • Voicemail flag

すべてのペイロードはHMAC-SHA256で署名されています。ヘッダーをエージェントのWebhookシークレットと照合してください。

数分で出荷、数週間ではありません

アカウントを作成し、APIキーを生成し、5分以内に最初の通話をトリガーします。