Flashduty Docs
中文EnglishRoadmapAPI官网控制台
中文EnglishRoadmapAPI官网控制台
  1. Webhooks
  • Getting Started
    • Introduction
    • Quick start
    • FAQ
    • Product Comparison
  • Incidents
    • What is an Incident
    • View Incidents
    • Handle Incidents
    • Escalations and Assignments
    • Custom Fields
    • Custom Actions
    • Alert Noise Reduction
    • Past Incidents
    • Outlier Incidents
  • Configure Flashduty
    • Channels
    • Integrate Alerts
    • Alert Noise Reduction
    • Escalation Rules
    • Label Enrichment
    • Schedules
    • Templates
    • Service Calendars
    • Preferences
    • Alert Routing
    • Silence and Inhibition
    • Filters
    • Notification Bots
    • Alert Pipeline
  • Platform
    • Teams and Members
    • Permissions
    • Single Sign-On
    • Insights
  • Advanced Features
    • Referencing Variables
    • Dynamic Assignment
  • Integrations
    • Alerts integration
      • Standard Alert Integration
      • Email Integration
      • Nightingale/FlashCat Integration
      • Prometheus Integration
      • Grafana Integration
      • Zabbix Integration
      • Uptime Kuma Integration
      • Alibaba Cloud ARMS Integration
      • Alibaba Cloud Monitor CM Event Integration
      • Alibaba Cloud Monitor CM Metrics Integration
      • Alibaba Cloud SLS Integration
      • AWS CloudWatch Integration
      • Azure Monitor Integration
      • Baidu Cloud BCM Integration
      • Huawei Cloud CES Integration
      • Influxdata Integration
      • Open Falcon Integration
      • PagerDuty Integration
      • Tencent BlueKing Integration
      • Tencent Cloud CLS Integration
      • Tencent Cloud Monitor CM Integration
      • Tencent Cloud EventBridge
      • OceanBase Integration
      • Graylog Integration
      • Skywalking Integration
      • Sentry Integration
      • Jiankongbao Integration
      • AWS EventBridge Integration
      • Dynatrace Integration
      • Huawei Cloud LTS Integration
      • GCP Integration
      • Splunk Alert Events Integration
      • AppDynamics Alert Integration
      • SolarWinds Alert Events Integration
      • Volcengine CM Alert Events Integration
      • Volcengine CM Event Center Integration
      • Volcengine TLS Integration
      • OpManager Integration
      • Meraki Integration
      • Keep Integration
      • ElastAlert2 Alert Integration
      • StateCloud Alert Events
      • Guance Alert Events
      • Zilliz Alert Events
      • Huawei Cloud APM Alerts
      • zstack integration
    • Change integration
      • Standard Change Event
      • Jira Issue Events
    • IM integration
      • Feishu (Lark) Integration Guide
      • Dingtalk Integration
      • WeCom Integration
      • Slack Integration
      • Microsoft Teams Integration
    • Single Sign-On
      • Authing Integration
      • Keycloak Guide
      • OpenLDAP Guide
    • Webhooks
      • Alert webhook
      • Incident webhook
      • Costom action
  • Terms
    • Terms of Service
    • User Agreement/Privary Policy
    • SLA
    • Data Security
  1. Webhooks

Alert webhook

Configure alert webhooks to receive HTTP callbacks at your specified URL when alerts have specific actions (such as triggering or closing). The callback content includes the latest key information about the alert, allowing integration with your custom tools.

I. Event Types#

The following event types are currently supported, with more potentially being added in the future.
Event TypeDescription
a_newIntegration pushes new event, triggering a new alert
a_updateIntegration pushes new event, merging into an existing alert and updating its information (severity, status, labels, description, etc.)
a_mergeMerge alert into incident
a_closeManually close alert

II. Push Description#

Request Method#

POST, Content-Type:"application/json"

Request Payload:#

FieldTypeRequiredDescription
event_timeint64YesEvent occurrence time in millisecond timestamp
event_typestringYesEvent type, see Event Types for enumerated values
event_idstringYesEvent ID, same event may retry multiple times due to timeout etc., receivers need to deduplicate
personPersonNoOperator, only present for manual actions
alertAlertYesAlert details
Person:
FieldTypeRequiredDescription
person_idint64YesPerson ID
person_namestringYesPerson name
emailstringYesEmail address
Alert:
FieldTypeRequiredDescription
alert_idstringYesAlert ID
data_source_idint64YesIntegration ID
data_source_namestringYesIntegration name
data_source_typestringYesIntegration type
channel_idint64YesChannel ID
channel_namestringYesChannel name
titlestringYesAlert title
title_rulestringNoTitle generation rule
descriptionstringNoAlert description
alert_keystringYesAlert correlation basis
alert_severitystringYesSeverity level, enum: Critical, Warning, Info
alert_statusstringYesAlert status, enum: Critical, Warning, Info, Ok
progressstringYesProcessing progress, enum: Triggered, Closed
created_atint64YesCreation time
updated_atint64YesUpdate time
start_timeint64YesFirst trigger time (time of first event received by platform), Unix timestamp in seconds
last_timeint64YesLatest event time (time of most recent event received by platform), Unix timestamp in seconds
end_timeint64NoAlert recovery time (time when platform last received end-type event), Unix timestamp in seconds, defaults to 0
close_timeint64NoClosure time, different from end_time, this indicates progress closure, not actual alert recovery. Unix timestamp in seconds, defaults to 0
labelsmap[string]stringNoLabel key-value pairs, both Key and Value are strings
event_cntint64NoNumber of associated events
incidentIncidentNoAssociated incident
Incident:
FieldTypeRequiredDescription
incident_idstringYesIncident ID
titlestringYesIncident title

Response#

HTTP status code 200 indicates successful push.

Request Example#

III. FAQ#

1.
Is there a response timeout for the service?
The service must respond within 1 second, after which the response is considered failed
2.
Will failed pushes continue to be pushed?
Currently, FlashDuty pushes only once, though retry mechanisms may be introduced in the future. Retries may also occur due to middleware timeouts, so implement idempotent processing
3.
How is push order guaranteed?
In theory, events for the same alert are pushed in chronological order, but retries and other situations may cause out-of-order delivery
Services can filter based on event_time; if a later event has been received, earlier events can be filtered out. Each push carries the latest complete information, so occasional event loss is acceptable
4.
Trusted IP whitelist for push sources?
{ip_whitelist}
May be updated in the future, please check periodically
修改于 2024-11-18 03:23:45
上一页
OpenLDAP Guide
下一页
Incident webhook
Built with