Public Documentation

Lawie Docs

guideDifficulty: beginnerTime: 20mVersion: v1Services: status, webhooksSDK: lawie-cliReviewed: 2025-01-18Reviewer: Docs PlatformTags: status, webhooks

Subscribe to Incident Webhooks

Receive incident updates automatically via webhook subscriptions.

Overview

Set up a webhook endpoint and subscribe to Lawie status events for operational awareness.

Prerequisites

  • Public HTTPS endpoint for webhook deliveries
  • API key with status.read scope

Architecture Diagram

Events flow from Lawie status to your webhook processor and alerting system.

Steps

  1. Create a webhook endpoint in your system (POST /status/v1/webhooks).
  2. Configure event filters (incident.created, incident.updated, incident.resolved).
  3. Validate the signature header (Lawie-Signature).
  4. Persist incident updates to your on-call timeline.

API Calls Referenced

  • POST /status/v1/webhooks
  • GET /status/v1/incidents

Troubleshooting

  • 401 → API key missing or expired.
  • 422 → Payload validation failed; ensure your endpoint accepts JSON.