cURL
curl --request GET 'https://api.brightalk.ai/call-history?limit=20' \
--header "Authorization: Bearer $BRIGHTALK_API_KEY" \
--header "Brightalk-Version: 2026-07-16"const response = await fetch("https://api.brightalk.ai/call-history?limit=20", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.BRIGHTALK_API_KEY}`,
"Brightalk-Version": "2026-07-16",
},
});
console.log(response.status, await response.json());import os
import requests
response = requests.request(
"GET",
"https://api.brightalk.ai/call-history?limit=20",
headers={
"Authorization": f"Bearer {os.environ['BRIGHTALK_API_KEY']}",
"Brightalk-Version": "2026-07-16",
},
)
print(response.status_code, response.json()){
"data": [
{
"object": "call_history_entry",
"id": "<string>",
"source": "ai",
"call_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"direction": "inbound",
"status": "<string>",
"occurred_at": "<string>",
"connected_at": "<string>",
"ended_at": "<string>",
"duration_seconds": 4503599627370495,
"is_archived": true,
"result": {
"object": "call_result",
"schema_version": "2026-11-18",
"call_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": "<string>",
"classification_status": "processing",
"classification_unavailable_reason": "not_recorded",
"poll_after_seconds": 5,
"outcome": "<string>",
"outcome_reason": "<string>",
"conversation_result": {
"version": "universal-v1",
"code": "agreed_human_contact",
"reason": "<string>",
"evidence": [
"<string>"
]
},
"voicemail": {
"detected": true,
"source": "operator",
"message_status": "reported_complete"
}
}
}
],
"next_cursor": "<string>"
}Calls
列出組織完整通話歷史
查詢後台撥號、進線、人工通話、批次、自動化與公開 API 的留存歷史,包含已封存通話。排除技術用途的號碼檢測,以及沒有開始或建立時間的資料。source 表示資料來源,human 也可能包含 AI 進線。時間篩選依開始時間計算,缺少時使用建立時間。請沿用 next_cursor 直到分頁完成。歷史 ID 與可執行操作的通話 ID 不同。引用證據另需 transcripts:read。
GET
/
call-history
cURL
curl --request GET 'https://api.brightalk.ai/call-history?limit=20' \
--header "Authorization: Bearer $BRIGHTALK_API_KEY" \
--header "Brightalk-Version: 2026-07-16"const response = await fetch("https://api.brightalk.ai/call-history?limit=20", {
method: "GET",
headers: {
Authorization: `Bearer ${process.env.BRIGHTALK_API_KEY}`,
"Brightalk-Version": "2026-07-16",
},
});
console.log(response.status, await response.json());import os
import requests
response = requests.request(
"GET",
"https://api.brightalk.ai/call-history?limit=20",
headers={
"Authorization": f"Bearer {os.environ['BRIGHTALK_API_KEY']}",
"Brightalk-Version": "2026-07-16",
},
)
print(response.status_code, response.json()){
"data": [
{
"object": "call_history_entry",
"id": "<string>",
"source": "ai",
"call_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"direction": "inbound",
"status": "<string>",
"occurred_at": "<string>",
"connected_at": "<string>",
"ended_at": "<string>",
"duration_seconds": 4503599627370495,
"is_archived": true,
"result": {
"object": "call_result",
"schema_version": "2026-11-18",
"call_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"revision": "<string>",
"classification_status": "processing",
"classification_unavailable_reason": "not_recorded",
"poll_after_seconds": 5,
"outcome": "<string>",
"outcome_reason": "<string>",
"conversation_result": {
"version": "universal-v1",
"code": "agreed_human_contact",
"reason": "<string>",
"evidence": [
"<string>"
]
},
"voicemail": {
"detected": true,
"source": "operator",
"message_status": "reported_complete"
}
}
}
],
"next_cursor": "<string>"
}