Skip to main content
POST
Assign incident

Restrictions

Usage

  • Responders not in the new target are removed; responders who stay keep their acknowledgement. If none of the remaining responders has acknowledged, the incident returns to Triggered. Any snooze is cleared.
  • When assigned_to sets none of person_ids, escalate_rule_id, and emails, the server re-runs the channel’s escalation rule matching instead.
  • Closed incidents are skipped without error.
  • The server fills assigned_at, id, and escalate_rule_name, and derives type when it is omitted.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Parameters for dispatching one or more incidents to a target. Provide incident_id or incident_ids but not both.

assigned_to
object
required

Assignment target. Set person_ids, escalate_rule_id, or emails; when none is set, the server re-runs the channel's escalation rule matching.

incident_id
string

Single incident ID. Ignored when incident_ids is also provided.

Pattern: ^[0-9a-fA-F]{24}$
incident_ids
string[]

Incident IDs to assign in bulk; obtain them from POST /incident/list.

Required array length: 1 - 100 elements
Pattern: ^[0-9a-fA-F]{24}$

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.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object

No payload. Depending on the operation, data is {} or omitted from the envelope; rely only on the HTTP 200 status and the absence of error.