发送会议邮件
POST
https://qyapi.weixin.qq.com/cgi-bin/exmail/app/compose_send
is_custom_repeat 如果为0,那么系统会根据 start_time 和 repeat_type 来自动计算下一次重复的时间,例如:
start_time 为本周周三8点整,repeat_type 为每周重复,那么每周三8点整重复;
start_time 为本月3号10点整,repeat_type 为每月重复,那么每月3号10点整重复;
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/exmail/app/compose_send' \
--header 'Content-Type: application/json' \
--data-raw '{
"to": {
"emails": [
"word@bgjkcsqy.wecom.work",
"jyan1@tiyantest.wang",
"zorocheng@tencnet.com",
"zoro@bgjkcsqy.wecom.work"
],
"userids": [
"william"
]
},
"subject": "邮件标题, 同时也是会议标题",
"content": "邮件正文,同时是会议描述",
"schedule": {
"method": "request",
"location": "这是会议地点",
"start_time": 1669278600,
"end_time": 1669282200,
"reminders": {
"is_remind": 1,
"remind_before_event_mins": 15,
"is_repeat": 1,
"is_custom_repeat": 1,
"timezone": 8,
"repeat_interval": 1,
"repeat_type": 1,
"repeat_day_of_week": [
4,
5
],
"repeat_day_of_month": [
],
"repeat_week_of_month": [
],
"repeat_month_of_year": [
],
"repeat_until": 1670745600
}
},
"meeting": {
"option": {
"password": "123456",
"auto_record": 2,
"enable_waiting_room": true,
"allow_enter_before_host": true,
"enter_restraint": 0,
"enable_screen_watermark": true,
"enable_enter_mute":0,
"remind_scope": 2,
"water_mark_type": 0
},
"hosts": {
"userids": [
"zoro"
]
},
"meeting_admins": {
"userids": [
"zoro"
]
}
}
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok"
}
请求参数
Query 参数
access_token
string
可选
示例值:
ACCESS_TOKEN
Body 参数application/json
返回响应
修改于 2022-12-07 04:09:05