新增消息模板
开发中
POST
https://api.flashcat.cloud/api/n9e/message-templates
最后修改时间:2025-02-19 09:42:44
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.flashcat.cloud/api/n9e/message-templates' \
--header 'Content-Type: application/json' \
--data-raw '[{
"name": "FeiShu Registration Template",
"ident": "feishu_registration_template",
"content": {
"subject": "Welcome to our service, {{username}}!",
"body": "Hi {{username}}, your verification code is {{verification_code}}. Please use it to complete your registration."
},
"user_group_ids": [1],
"notify_channel_id": 1
}]'
响应示例响应示例
{
"dat": [1],
"err": ""
}
请求参数
Body 参数application/json