Sety
    Sety
    • Developer API Reference
    • Health
      • Health check
    • Incidents
      • Create incident
      • List incidents
      • Get incident
      • Cancel incident
      • Add note
    • Access Logs
      • List access logs
      • Access log stats
      • Create access log
      • Get current visitors
      • Checkout visitor
    • Threat Intelligence
      • List danger zones
      • Danger analytics for a location
      • Heatmap data
      • Safety score
      • Route safety analysis
    • Schemas
      • Error
      • PaginatedResponse
      • GeoPoint
      • Subject
      • Location
      • IncidentLocation
      • SLA
      • IncidentTimelineEvent
      • ResponderAssignment
      • TimelineEvent
      • Incident
      • CreateIncidentRequest
      • IncidentAnalytics
      • AccessCode
      • CreateAccessCodeRequest
      • ValidationResult
      • AccessLog
      • CurrentVisitor
      • DangerAnalytics
      • HeatmapResponse
      • SafetyScore
      • TimeAnalysis
      • LocationComparison
      • RouteSafety
      • RiskPrediction
      • IncidentPatterns
      • SafeZones
      • ApiKey
      • CreateApiKeyRequest
      • WebhookEndpoint
      • WebhookDelivery

    Incident

    {
        "incident_id": "inc_a1b2c3d4e5f6g7h8",
        "idempotency_key": "string",
        "category": "sos",
        "severity": "low",
        "status": "created",
        "subject": {
            "name": "Amaka Obi",
            "phone": "+2348012345678",
            "email": "[email protected]",
            "reference": "TRIP-44821",
            "metadata": {
                "vehicle_plate": "LND-204-KJA",
                "driver_name": "Olu Babs"
            }
        },
        "title": "string",
        "description": "string",
        "location": {
            "coordinates": [
                3.3792,
                6.5244
            ],
            "address": "14 Bourdillon Road, Ikoyi, Lagos",
            "landmark": "Gate B — North entrance"
        },
        "resolution_outcome": "handled",
        "resolution_notes": "string",
        "is_drill": true,
        "timeline": [
            {
                "status": "string",
                "event": "created",
                "message": "string",
                "timestamp": "2019-08-24T14:15:22.123Z"
            }
        ],
        "created_at": "2019-08-24T14:15:22.123Z",
        "updated_at": "2019-08-24T14:15:22.123Z",
        "resolved_at": "2019-08-24T14:15:22.123Z",
        "cancelled_at": "2019-08-24T14:15:22.123Z"
    }
    Built with