消息模板列表
开发中
GET
https://api.flashcat.cloud/api/n9e/message-templates
最后修改时间:2025-02-19 07:43:10
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flashcat.cloud/api/n9e/message-templates?notify_channel_ids=1,2'
响应示例响应示例
{
"dat": [
{
"id": 1,
"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
},
{
"id": 2,
"name": "FeiShu Reset Password Template",
"ident": "feishu_reset_password_template",
"content": {
"subject": "Password Reset Request",
"body": "Hi {{username}}, your password reset code is {{reset_code}}. Please use it to reset your password."
},
"user_group_ids": [
2
],
"notify_channel_id": 2
}
],
"err": ""
}
请求参数
Query 参数
notify_channel_ids
string
可选
示例值:
1,2