curl --location --request POST 'https://api.flashcat.cloud/incident/create?app_key=<api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"description": "string",
"incident_severity": "Critical",
"channel_id": 0,
"assigned_to": {
"type": "assign",
"person_ids": [
0
],
"escalate_rule_id": "string",
"escalate_rule_name": "string",
"layer_idx": 0,
"notify": {
"follow_preference": true,
"personal_channels": [
"email"
],
"template_id": "string"
},
"layer_person_reset": {
"0": {
"team_ids": [
0
],
"person_ids": [
0
],
"emails": [
"string"
],
"schedule_to_role_ids": {
"{schedule_id}": [
0
]
}
}
},
"layer_webhook_reset": {
"0": {
"type": "feishu_app",
"settings": {
"data_source_id": 0,
"chat_ids": "string",
"reply_mode": "threads",
"reply_event_types": [
"string"
],
"disable_at": true,
"put_top_notice": true,
"severities": [
"Info"
]
}
}
},
"emails": [
"string"
]
}
}'{
"error": {
"code": "InvalidParameter",
"message": "string"
},
"data": {
"incident_id": "string",
"title": "string"
}
}