json{"event": "call_flow.contact_lookup","call_id": "call_e9a0c7eb1a744b55a0ee65","caller_number": "14155550100","destination_number": "18005550199","workspace_id": "ws_abc123","call_flow_id": "cf_xyz987"}
json{"id": "customer_99182","display_name": "John Doe","tier": "VIP"}
json{"iss": "sid-650000000000000000000001","aud": "client-api","sub": "partner_customer_100","domain": "acme.firetell.com","exp": 1786022400,"call_flow_id": "cf_650000000000000000000100"}
| Action | Chức năng |
|---|---|
| play | Phát file audio đã tải lên, có thể tự nhấc máy trước |
| tts | Đọc nội dung động bằng chuyển văn bản thành giọng nói |
| ivr | Thu thập phím bấm từ người gọi |
| to_operator | Chuyển cuộc gọi tới một số điện thoại bên ngoài |
| connect_agent | Đổ chuông cho một tổng đài viên cụ thể |
| connect_team | Đổ chuông cho hàng đợi của một nhóm |
| connect_voice_agent | Chuyển cuộc gọi cho AI Voice Agent |
| connect_sip | Đổ chuông tài khoản SIP như điện thoại bàn |
| recording | Bắt đầu ghi âm cuộc gọi |
| voicemail | Chuyển người gọi vào hộp thư thoại |
| stream | Tách luồng âm thanh trực tiếp sang dịch vụ của bạnAudio Streaming → |
| disconnect | Kết thúc cuộc gọi |
json{"actions": [{"action": "play","params": { "audio_id": "au_vip_welcome_greeting", "answer_call": true, "continue_on_play": false }},{"action": "connect_agent","params": { "agent_id": "agt_account_mgr_alex", "timeout": 45 }}]}