ClawOps Docs

Agent 연결 상태 Webhook

Agent SDK 연결이 끊기거나 복구될 때 통지받습니다.

Voice Agent SDK 의 상시 연결(Control WebSocket)이 15초 이상 끊기면 agent.disconnected, 다시 연결되면 agent.connected 이벤트를 구독한 webhook URL 로 보냅니다. 15초 미만의 순간 끊김·재연결은 통지하지 않습니다(노이즈 방지).

이벤트

이벤트발생 시점
agent.disconnected번호의 Agent 연결이 15초 이상 끊긴 것이 확정됐을 때
agent.connected끊겼던 Agent 연결이 복구됐을 때

페이로드 (application/x-www-form-urlencoded, POST)

agent.disconnected

필드예시설명
Eventagent.disconnected이벤트 타입
AccountIdAC...계정 ID
PhoneNumber07052358015연결이 끊긴 번호
Statusdisconnected상태
Reasonheartbeat_timeout / closed / error끊김 유형
DisconnectedAt2026-06-04T01:49:45.000Z실제 끊긴 순간(UTC)
Timestamp2026-06-04T01:50:00.000Z발송 시각(디바운스 후)

agent.connected

필드예시설명
Eventagent.connected이벤트 타입
AccountIdAC...계정 ID
PhoneNumber07052358015복구된 번호
Statusconnected상태
DisconnectedAt2026-06-04T01:49:45.000Z끊겼던 순간
ReconnectedAt2026-06-04T02:58:24.000Z복구된 순간
DurationDownSec4119총 다운 지속 시간(초)
Timestamp2026-06-04T02:58:24.000Z발송 시각

서명 검증은 다른 webhook 과 동일합니다 — 서명 검증 참고.