API 参考
接收事件

account.auth.failed

一次认证尝试失败。

事件载荷

{
  "id": "evt_auth_5e6f7a8b9c",
  "type": "account.auth.failed",
  "provider": "whatsapp",
  "account_id": "acc_8c21d0",
  "occurred_at": "2026-06-08T13:25:00Z",
  "data": {
    "auth_status": "failed",
    "runtime_status": "disconnected",
    "last_error": "logged_out_from_another_device",
    "event": {
      "kind": "account_auth_status",
      "auth_status": "failed"
    }
  }
}

备注

  • 一次认证尝试失败,或已有会话被渠道置为失效。provider 给出原因时,data.last_error 是机器可读的错误值;向用户展示失败后,再发起新的认证流程。