SwiftGoma.SwiftGoma

Search endpoints

Jump to any API endpoint by name, method, or path

Incidents

Update incident status

PATCH/api/v1/incidents/:id/status

Changes an incident's status and broadcasts a notification about the change. Staff-only.

Requires Authorization
ADMIN, SUPPORT only
Authenticated action

Path parameters

idstringrequired
Incident ID.

Body parameters

statusstringrequired
INVESTIGATING, IDENTIFIED, MONITORING, or RESOLVED.

Notes

  • Setting status to RESOLVED stamps resolvedAt; moving it back off RESOLVED clears that timestamp.
Request
curl --request PATCH \
  --url https://api.swiftgoma.com/api/v1/incidents/:id/status \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "<status>"
}'
200Example response
{
  "success": true,
  "data": {
    "id": "inc_1a2b3c",
    "title": "Retards de livraison à Goma",
    "description": "Certains livreurs rencontrent des retards liés aux conditions de circulation.",
    "severity": "MINOR",
    "status": "RESOLVED",
    "resolvedAt": "2026-02-15T14:00:00.000Z",
    "createdAt": "2026-02-15T08:00:00.000Z",
    "updatedAt": "2026-02-15T08:00:00.000Z"
  }
}