Add Message Notice
POST
/v1/message-notice/create请求参数
Body Params multipart/form-data
token
string
required
Token generated by the management backend
Example:
{{token}}
domain_id
string
optional
Domain ID (can be obtained from the GetMX management backend or through the /v1/domain/list endpoint; the 'id' field is the 'domain_id')
Example:
12345678
group_pay_id
string
optional
Group pay ID (group_pay_id can be obtained from the GetMX backend or through the /v1/group-pay/list endpoint, with the 'id' field corresponding to 'group_pay_id').
Example:
1
platform
integer
optional
Platform: 1 for WebHook, 2 for Lark, 3 for WeCom, 4 for DingTalk
Example:
1
notice_url
string
optional
WebHook notification URL
Example:
http://api.com/notice
mark
string
optional
Mark
Example:
mark
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
integer
required
msg
string
required
data
null
required
Example
{
"code": 0,
"msg": "string",
"data": null
}
Last modified: 17 小时前