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": "6a5f1e28807515413b384bce",
"type": "i_wi_created",
"detail": {
"work_item_id": "wi_68MHnkWBiyjrh6uhkxUyiZ",
"item_type": "follow_up",
"title": "Follow-up: schedule database failover drill",
"status": "open",
"assignee_ids": [
3790925372131,
4756301322131
],
"post_mortem_id": "51d65cd9525c369379ba471b5512df63"
},
"account_id": 2451002751131,
"creator_id": 5329873302131,
"created_at": 1785495329402,
"updated_at": 1785495329402
},
{
"ref_id": "6a5f1e28807515413b384bce",
"type": "i_comm",
"detail": {
"comment": "Root cause identified: connection pool exhaustion on the primary database.",
"comment_type_id": "6a5895d672a064bc2d3ddfc2",
"comment_type": {
"id": "6a5895d672a064bc2d3ddfc2",
"name": "Key finding",
"color": "#30A46C"
}
},
"account_id": 2451002751131,
"creator_id": 3790925372131,
"created_at": 1785496333926,
"updated_at": 1785496333926
},
{
"ref_id": "6a5f1e28807515413b384bce",
"type": "i_wi_completed",
"detail": {
"work_item_id": "wi_68MHnkWBiyjrh6uhkxUyiZ",
"item_type": "follow_up",
"title": "Follow-up: schedule database failover drill",
"from_status": "open",
"to_status": "done",
"post_mortem_id": "51d65cd9525c369379ba471b5512df63"
},
"account_id": 2451002751131,
"creator_id": 3790925372131,
"created_at": 1785496384806,
"updated_at": 1785496384806
}
]
}
}{
"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": "6a5f1e28807515413b384bce",
"type": "i_wi_created",
"detail": {
"work_item_id": "wi_68MHnkWBiyjrh6uhkxUyiZ",
"item_type": "follow_up",
"title": "Follow-up: schedule database failover drill",
"status": "open",
"assignee_ids": [
3790925372131,
4756301322131
],
"post_mortem_id": "51d65cd9525c369379ba471b5512df63"
},
"account_id": 2451002751131,
"creator_id": 5329873302131,
"created_at": 1785495329402,
"updated_at": 1785495329402
},
{
"ref_id": "6a5f1e28807515413b384bce",
"type": "i_comm",
"detail": {
"comment": "Root cause identified: connection pool exhaustion on the primary database.",
"comment_type_id": "6a5895d672a064bc2d3ddfc2",
"comment_type": {
"id": "6a5895d672a064bc2d3ddfc2",
"name": "Key finding",
"color": "#30A46C"
}
},
"account_id": 2451002751131,
"creator_id": 3790925372131,
"created_at": 1785496333926,
"updated_at": 1785496333926
},
{
"ref_id": "6a5f1e28807515413b384bce",
"type": "i_wi_completed",
"detail": {
"work_item_id": "wi_68MHnkWBiyjrh6uhkxUyiZ",
"item_type": "follow_up",
"title": "Follow-up: schedule database failover drill",
"from_status": "open",
"to_status": "done",
"post_mortem_id": "51d65cd9525c369379ba471b5512df63"
},
"account_id": 2451002751131,
"creator_id": 3790925372131,
"created_at": 1785496384806,
"updated_at": 1785496384806
}
]
}
}{
"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) |
Usage
- For
i_commentries,detail.comment_typeis resolved from the current account-level comment type definition at read time, so it reflects the type’s latest name and color.
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. |
i_wi_created | Work Item Created: An Action or Follow-up was created. |
i_wi_updated | Work Item Updated: Title, description, status, or priority was changed. |
i_wi_assignees | Work Item Assignees Changed: Assignees were updated. |
i_wi_completed | Work Item Completed: An assignee marked the work item complete. |
i_wi_converted | Work Item Converted: An Action was converted to a Follow-up. |
i_wi_bound | Work Item Bound: A converted Follow-up was bound to a post-mortem. |
i_wi_deleted | Work Item Deleted: An Action or Follow-up was soft-deleted. |
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, i_wi_created, i_wi_updated, i_wi_assignees, i_wi_completed, i_wi_converted, i_wi_bound, i_wi_deleted, 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?