Create Template
POST
/template/createSee creation interface for filters description
Request
Header Params
Content-Type
string
optional
Example:
application/json
Body Params application/json
team_id
integer
Team ID
template_name
string
Name
description
string
Description
email
string
Email
sms
string
SMS
dingtalk
string
Dingtalk bot
wecom
string
WeCom bot
feishu
string
Feishu/Lark bot
feishu_app
string
Feishu/Lark app
dingtalk_app
string
Dingtalk app
wecom_app
string
WeCom app
teams_app
string
Teams app
slack_app
string
Slack app
zoom
string
Zoom bot
telegram
string
Telegram bot
Example
{
"team_id": 0,
"template_name": "string",
"description": "string",
"email": "string",
"sms": "string",
"dingtalk": "string",
"wecom": "string",
"feishu": "string",
"feishu_app": "string",
"dingtalk_app": "string",
"wecom_app": "string",
"teams_app": "string",
"slack_app": "string",
"zoom": "string",
"telegram": "string"
}
Request samples
Responses
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
error
object
optional
data
object
optional
template_id
string
ID
template_name
string
Name
Example
{
"error": {},
"data": {
"template_id": "string",
"template_name": "string"
}
}
Last modified: 2 个月前