首先访问"https://open.larksuite.com/api-explorer?apiName=batch_get_id&project=contact&resource=user&version=v3"页面登录,然后点击左侧通过手机号或邮箱获取用户id,查询参数下面选择成员,搜索用户,点击复制id
curl -X POST -H "Content-Type: application/json" -d '{"msg_type":"post","content":{"post":{"zh_cn":{"title":"'"告警"'","content":[[{"tag":"text","text":"'"这是新告警"'"},{"tag": "at","user_id": "复制的用户id1"},{"tag": "at","user_id": "复制的用户id2"}]]}}}}' 你的lark机器人地址