curl --request POST \
--url 'https://api.flashcat.cloud/incident/feed?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"incident_id": "69da451ef77b1b51f40e83ee",
"p": 1,
"limit": 20
}
'import requests
url = "https://api.flashcat.cloud/incident/feed?app_key="
payload = {
"incident_id": "69da451ef77b1b51f40e83ee",
"p": 1,
"limit": 20
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({incident_id: '69da451ef77b1b51f40e83ee', p: 1, limit: 20})
};
fetch('https://api.flashcat.cloud/incident/feed?app_key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.flashcat.cloud/incident/feed?app_key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'incident_id' => '69da451ef77b1b51f40e83ee',
'p' => 1,
'limit' => 20
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.flashcat.cloud/incident/feed?app_key="
payload := strings.NewReader("{\n \"incident_id\": \"69da451ef77b1b51f40e83ee\",\n \"p\": 1,\n \"limit\": 20\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.flashcat.cloud/incident/feed?app_key=")
.header("Content-Type", "application/json")
.body("{\n \"incident_id\": \"69da451ef77b1b51f40e83ee\",\n \"p\": 1,\n \"limit\": 20\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flashcat.cloud/incident/feed?app_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"incident_id\": \"69da451ef77b1b51f40e83ee\",\n \"p\": 1,\n \"limit\": 20\n}"
response = http.request(request)
puts response.read_body{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"data": {
"has_next_page": true,
"items": [
{
"ref_id": "69da451ef77b1b51f40e83ee",
"type": "i_new",
"detail": {
"severity": "Critical",
"title": "CPU usage high - web-server-01"
},
"account_id": 2451002751131,
"creator_id": 0,
"created_at": 1775912222661,
"updated_at": 1775912222661
},
{
"ref_id": "69da451ef77b1b51f40e83ee",
"type": "i_notify",
"detail": {
"rid": "5e9ccfabcd154b41a0005fd0f52b674b",
"msg_id": "naFudJYCawBWsChdV6ErPH",
"fire_type": "fire",
"escalate_rule_id": "000000000000000000000000",
"layer_idx": 0,
"by": "email",
"persons": [
{
"person_id": 2476444212131
}
]
},
"account_id": 2451002751131,
"creator_id": 0,
"created_at": 1775972130174,
"updated_at": 1775972130174
}
]
}
}{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"error": {
"code": "InvalidParameter",
"message": "The specified parameter is not valid."
}
}{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"error": {
"code": "Unauthorized",
"message": "You are unauthorized."
}
}{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"error": {
"code": "RequestTooFrequently",
"message": "Request too frequently."
}
}{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"error": {
"code": "InternalError",
"message": "We encountered an internal error, and it has been reported. Please try again later."
}
}Get incident timeline
Retrieve the timeline feed for a specific incident, including state changes, comments and system events.
curl --request POST \
--url 'https://api.flashcat.cloud/incident/feed?app_key=' \
--header 'Content-Type: application/json' \
--data '
{
"incident_id": "69da451ef77b1b51f40e83ee",
"p": 1,
"limit": 20
}
'import requests
url = "https://api.flashcat.cloud/incident/feed?app_key="
payload = {
"incident_id": "69da451ef77b1b51f40e83ee",
"p": 1,
"limit": 20
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({incident_id: '69da451ef77b1b51f40e83ee', p: 1, limit: 20})
};
fetch('https://api.flashcat.cloud/incident/feed?app_key=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.flashcat.cloud/incident/feed?app_key=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'incident_id' => '69da451ef77b1b51f40e83ee',
'p' => 1,
'limit' => 20
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.flashcat.cloud/incident/feed?app_key="
payload := strings.NewReader("{\n \"incident_id\": \"69da451ef77b1b51f40e83ee\",\n \"p\": 1,\n \"limit\": 20\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.flashcat.cloud/incident/feed?app_key=")
.header("Content-Type", "application/json")
.body("{\n \"incident_id\": \"69da451ef77b1b51f40e83ee\",\n \"p\": 1,\n \"limit\": 20\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.flashcat.cloud/incident/feed?app_key=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"incident_id\": \"69da451ef77b1b51f40e83ee\",\n \"p\": 1,\n \"limit\": 20\n}"
response = http.request(request)
puts response.read_body{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"data": {
"has_next_page": true,
"items": [
{
"ref_id": "69da451ef77b1b51f40e83ee",
"type": "i_new",
"detail": {
"severity": "Critical",
"title": "CPU usage high - web-server-01"
},
"account_id": 2451002751131,
"creator_id": 0,
"created_at": 1775912222661,
"updated_at": 1775912222661
},
{
"ref_id": "69da451ef77b1b51f40e83ee",
"type": "i_notify",
"detail": {
"rid": "5e9ccfabcd154b41a0005fd0f52b674b",
"msg_id": "naFudJYCawBWsChdV6ErPH",
"fire_type": "fire",
"escalate_rule_id": "000000000000000000000000",
"layer_idx": 0,
"by": "email",
"persons": [
{
"person_id": 2476444212131
}
]
},
"account_id": 2451002751131,
"creator_id": 0,
"created_at": 1775972130174,
"updated_at": 1775972130174
}
]
}
}{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"error": {
"code": "InvalidParameter",
"message": "The specified parameter is not valid."
}
}{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"error": {
"code": "Unauthorized",
"message": "You are unauthorized."
}
}{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"error": {
"code": "RequestTooFrequently",
"message": "Request too frequently."
}
}{
"request_id": "01HK8XQE3Z7JM2NTFQ5YJ8P9R4",
"error": {
"code": "InternalError",
"message": "We encountered an internal error, and it has been reported. Please try again later."
}
}Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Incidents Read (on-call) |
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Filters for the incident timeline query.
Incident ID (MongoDB ObjectID).
^[0-9a-fA-F]{24}$Page number starting at 1.
x >= 1Page size, at most 100.
1 <= x <= 100Ascending chronological order when true.
Optional filter restricting the returned entries to specific types.
Incident timeline entry type. Each value identifies one lifecycle event; the matching detail payload shape is determined by this field. Incident types are prefixed with i_.
| Type | Meaning |
|---|---|
i_new | Incident Created: A new incident was created automatically or manually. |
i_assign | Assigned: Incident was assigned to responders. |
i_a_rspd | Responder Added: Additional responders joined the incident. |
i_notify | Notification dispatched through a channel at a specific escalation level. |
i_storm | Alert storm threshold reached on the incident. |
i_snooze | Notifications snoozed for a given duration. |
i_wake | Snooze cancelled and notifications resumed. |
i_ack | Acknowledged: Responder confirmed they are working on the incident. |
i_unack | Acknowledgement removed. |
i_comm | Comment: Responder logged progress or key information. |
i_rslv | Resolved: Incident was marked as resolved. |
i_reopen | Reopened: Resolved incident was reopened, possibly due to recurrence. |
i_merge | Merged: Multiple related incidents were merged into one. |
i_r_title | Title updated. |
i_r_desc | Description updated. |
i_r_impact | Impact updated. |
i_r_rc | Root cause updated. |
i_r_rsltn | Resolution updated. |
i_r_severity | Severity Changed: Incident severity level was adjusted. |
i_r_field | Custom field value updated. |
i_m_flapping | Incident muted by flapping detection. |
i_m_reply | Mute reply marker on a comment. |
i_custom | Action: Automated action or script was triggered. |
i_wr_create | War Room Created: Chat group was created for collaborative response. |
i_wr_delete | War room chat group deleted. |
i_auto_refresh | Card auto-refresh event posted back to the timeline. |
a_merge | Alert Merged: An alert was merged into an existing incident. |
i_new, i_assign, i_a_rspd, i_notify, i_storm, i_snooze, i_wake, i_ack, i_unack, i_comm, i_rslv, i_reopen, i_merge, i_r_title, i_r_desc, i_r_impact, i_r_rc, i_r_rsltn, i_r_severity, i_r_field, i_m_flapping, i_m_reply, i_custom, i_wr_create, i_wr_delete, i_auto_refresh, a_merge Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.
Was this page helpful?