跳轉到主要內容
GET
cURL

授權

Authorization
string
header
必填

Use a server-side Brightalk API key in the Authorization header.

標頭

Brightalk-Version
string
預設值:2026-07-16

選擇以日期為基礎的 API 版本。省略時會使用組織固定的預設版本。

Allowed value: "2026-07-16"
X-Request-Id
string

由呼叫端產生且符合 [A-Za-z0-9._:-]{1,64} 的關聯值。無效值會被取代。

Maximum string length: 64
Pattern: ^[A-Za-z0-9._:-]{1,64}$

路徑參數

history_id
string
必填
Required string length: 1 - 255

回應

已傳回目前的通話歷史或結果。

object
string
必填
Allowed value: "call_history_entry"
id
string
必填
Pattern: ^(?:ai|human)_[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
source
enum<string>
必填
可用選項:
ai,
human
call_id
string<uuid> | null
必填
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
contact_id
string<uuid> | null
必填
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
direction
enum<string>
必填
可用選項:
inbound,
outbound,
unknown
status
string | null
必填
Pattern: ^[a-z][a-z0-9_]{0,63}$
occurred_at
string
必填
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$
connected_at
string | null
必填
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$
ended_at
string | null
必填
Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$
duration_seconds
integer | null
必填
必填範圍: 0 <= x <= 9007199254740991
is_archived
boolean
必填
result
object
必填