CallRail API integration with managed OAuth. Track and analyze phone calls, manage tracking numbers, companies, and tags. Use this skill when users want to access call data, manage tracking numbers, view call analytics, or organize calls with tags. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install callrail或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install callrail⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/callrail/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: callrail description: | CallRail API integration with managed OAuth. Track and analyze phone calls, manage tracking numbers, companies, and tags. Use this skill when users want to access call data, manage tracking numbers, view call analytics, or organize calls with tags. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). compatibility: Requires network access and valid Maton API key metadata: author: maton version: "1.0" clawdbot: emoji: 🧠 requires: env: - MATON_API_KEY ---
Access the CallRail API with managed OAuth authentication. Track calls, manage tracking numbers, analyze call data, and organize with tags.
# List all calls
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/callrail/v3/a/{account_id}/calls.json')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
https://gateway.maton.ai/callrail/{native-api-path}
Replace {native-api-path} with the actual CallRail API endpoint path. The gateway proxies requests to api.callrail.com and automatically injects your OAuth token.
All requests require the Maton API key in the Authorization header:
Authorization: Bearer $MATON_API_KEY
Environment Variable: Set your API key as MATON_API_KEY:
export MATON_API_KEY="YOUR_API_KEY"
Manage your CallRail OAuth connections at https://ctrl.maton.ai.
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections?app=callrail&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'callrail'}).encode()
req = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
Response:
{
"connection": {
"connection_id": "75364cb9-7116-4367-a707-1113d426f17d",
"status": "ACTIVE",
"creation_time": "2026-02-10T09:55:17.574212Z",
"last_updated_time": "2026-02-10T09:55:34.693801Z",
"url": "https://connect.maton.ai/?session_token=...",
"app": "callrail",
"metadata": {}
}
}
Open the returned url in a browser to complete OAuth authorization.
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
If you have multiple CallRail connections, specify which one to use with the Maton-Connection header:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://gateway.maton.ai/callrail/v3/a.json')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '75364cb9-7116-4367-a707-1113d426f17d')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF
If omitted, the gateway uses the default (oldest) active connection.
All CallRail API endpoints follow this pattern:
/callrail/v3/a/{account_id}/{resource}.json
Account IDs start with ACC, Company IDs start with COM, Call IDs start with CAL, Tracker IDs start with TRK, User IDs start with USR.
---
GET /callrail/v3/a.json
Response:
{
"page": 1,
"per_page": 100,
"total_pages": 1,
"total_records": 1,
"accounts": [
{
"id": "ACC019c46b8a0807fbdb81c8bf12af91cb3",
"name": "My Account",
"numeric_id": 518664017,
"inbound_recording_enabled": false,
"outbound_recording_enabled": false,
"hipaa_account": false,
"created_at": "2026-02-10 03:43:50 -0500"
}
]
}
GET /callrail/v3/a/{account_id}.json
---
GET /callrail/v3/a/{account_id}/companies.json
Response:
{
"page": 1,
"per_page": 100,
"total_pages": 1,
"total_records": 1,
"companies": [
{
"id": "COM019c46b8a26376a9a4f29671dcdd49e9",
"name": "My Company",
"status": "active",
"time_zone": "America/Los_Angeles",
"created_at": "2026-02-10T08:43:51.280Z",
"callscore_enabled": false,
"lead_scoring_enabled": true,
"callscribe_enabled": true
}
]
}
GET /callrail/v3/a/{account_id}/companies/{company_id}.json
---
GET /callrail/v3/a/{account_id}/calls.json
Query Parameters:
| Parameter | Description | |-----------|-------------| | page | Page number (default: 1) | | per_page | Results per page (default: 100, max: 250) | | date_range | Preset: recent, today, yesterday, last_7_days, last_30_days, this_month, last_month | | start_date | ISO 8601 date (e.g., 2026-02-01T00:00:00-08:00) | | end_date | ISO 8601 date | | company_id | Filter by company | | tracker_id | Filter by tracker | | search | Search term | | fields | Comma-separated field names to return | | sort | Field to sort by | | order | Sort order: asc or desc |
Response:
{
"page": 1,
"per_page": 100,
"total_pages": 1,
"total_records": 1,
"calls": [
{
"id": "CAL019c46b9fc277a7881e3728fea20869b",
"answered": false,
"customer_name": "John Doe",
"customer_phone_number": "+18886757190",
"direction": "inbound",
"duration": 36,
"recording": "https://api.callrail.com/v3/a/.../recording",
"recording_duration": 36,
"start_time": "2026-02-10T00:45:19.781-08:00",
"tracking_phone_number": "+18017846712",
"voicemail": true
}
]
}
GET /callrail/v3/a/{account_id}/calls/{call_id}.json
PUT /callrail/v3/a/{account_id}/calls/{call_id}.json
Content-Type: application/json
{
"customer_name": "John Smith",
"note": "Follow up scheduled",
"lead_status": "good_lead",
"spam": false
}
Updatable Fields:
| Field | Description | |-------|-------------| | customer_name | Customer's name | | note | Call notes | | lead_status | good_lead, not_a_lead, previously_marked_good_lead | | spam | Mark as spam (boolean) | | tag_list | Array of tag names to apply | | value | Call value (numeric) | | append_tags | Add tags without removing existing |
GET /callrail/v3/a/{account_id}/calls/summary.json
Get aggregated call statistics for a date range.
Query Parameters:
| Parameter | Description | |-----------|-------------| | date_range | Preset date range | | start_date | Start date (ISO 8601) | | end_date | End date (ISO 8601) | | group_by | Group results: company, tracker, source, medium, etc. |
...
安装 CallRail 后,可以对 AI 说这些话来触发它
Help me get started with CallRail
Explains what CallRail does, walks through the setup, and runs a quick demo based on your current project
Use CallRail to callRail API integration with managed OAuth
Invokes CallRail with the right parameters and returns the result directly in the conversation
What can I do with CallRail in my data & analytics workflow?
Lists the top use cases for CallRail, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/callrail/ 目录(个人级,所有项目可用),或 .claude/skills/callrail/(项目级)。重启 AI 客户端后,用 /callrail 主动调用,或让 AI 根据上下文自动发现并使用。
CallRail 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
CallRail 可免费安装使用。请查阅仓库了解许可证信息。
CallRail API integration with managed OAuth. Track and analyze phone calls, manage tracking numbers, companies, and tags. Use this skill when users want to access call data, manage tracking numbers, view call analytics, or organize calls with tags. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
CallRail 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using CallRail
Identifies repetitive steps in your workflow and sets up CallRail to handle them automatically