curl --location --request POST 'https://api.flashcat.cloud/api/n9e/notify-channel-configs' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjdjMGM4YmQyLTExOTYtNDlmYS04YzY0LWE0NDE2ODQ4NTUzYSIsImF1dGhvcml6ZWQiOnRydWUsImV4cCI6MTc0OTg4ODQ4MCwidXNlcl9pZGVudGl0eSI6IjEtcm9vdCJ9._S1Isb29viOhHyVrjbwIUjPZnNQXewmb4zftVeqbFpA' \
--header 'X-User-Token: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"name": "FeiShu Notification",
"ident": "feishu_channel",
"description": "A channel for sending notifications via FeiShu",
"param_config": {
"user_contact_key": "Phone",
"custom": {}
},
"request_type": "http",
"request_config": {
"http_request_config": {
"url": "https://open.feishu.cn/open-apis/bot/v2/hook/your-webhook-url",
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"proxy": "",
"timeout": 10,
"concurrency": 5,
"retry_times": 3,
"retry_interval": 5,
"tls": {
"skip_verify": false
},
"request": {
"parameters": {
"feishu_robot_token": "your_feishu_token"
},
"body": "This is a FeiShu notification."
}
},
"smtp_request_config": {},
"script_request_config": {}
}
}
]'