企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

安全管理 → [操作日志] 获取成员操作记录

AI-generated

Summary

Retrieves WeCom member operation records for a required time range, with optional filters for operation type and operator. Use the cursor to request a page of results; the maximum page size is 400 records.

Inputs

  • start_time (required) — Start of the query range. Must be no earlier than 180 days ago.
  • end_time (required) — End of the query range. Must be after start_time, before the current time, and no more than 7 days after start_time.
  • oper_type — Filter by operation type, such as adding or deleting an external contact, device login, or changing a phone number. Defaults to 0 (all types).
  • userid — Filter by operator; the selected user must be within the application's visible scope.
  • cursor — Pagination cursor. Leave empty to start from the first page.
  • limit — Maximum records to return; defaults to 400 and accepts 1–400.

Output shape

A list of member operation log records with pagination data.

The operation is paginated; pass the returned cursor to retrieve another page. The source pack shows the operation and helpers only at signature level, so the exact response field names are not visible.

Links

Discussion