Webhooks

Get push notifications when a flight request status changes

Use webhooks to receive near‑real‑time status_change events for flight requests submitted with your API key.

When events are sent

Event Sent when
status_change Every status change of a request submitted with your API key (single or batch): its automated status once checked (Auto-Registered, a rejection status, Pending External or Registered), a few seconds after the 201 that answered it with Received; a team's or USSP's decision (Approved, Advised Against, …); a re-check after an update; and a cancellation. The payload carries the request's status at the time of sending.
test You call POST /api/v1/webhooks/{id}/test
The `on_review_complete` and `on_cascade_rejection` settings still exist for backwards compatibility but no longer produce events: there is no manual team review and no cascade rejection in the current model.

Register a Webhook

POST /api/v1/webhooks

JSON
{
    "url": "https://your-app.com/webhooks/droneclearance",
    "on_status_change": true
}

The response contains a secret. It is shown only once — store it to verify signatures.

Manage Webhooks

Method Endpoint Description
GET /api/v1/webhooks List the webhooks of your API key
GET /api/v1/webhooks/{id} Webhook details, including failure count and last error
PATCH /api/v1/webhooks/{id} Update url, on_status_change, is_active; send regenerate_secret: true for a new secret
DELETE /api/v1/webhooks/{id} Delete a webhook
POST /api/v1/webhooks/{id}/test Send a test event to the webhook URL

A webhook is deactivated automatically after 10 consecutive failed deliveries.

Payload

JSON
{
    "event": "status_change",
    "timestamp": "2026-02-05T14:02:00+00:00",
    "data": {
        "uuid": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
        "group_id": null,
        "flight_plan_id": null,
        "execution_id": null,
        "status": "Altitude Exceeded",
        "is_approved": false,
        "is_rejected": true,
        "team": {
            "id": 3,
            "name": "Schiphol"
        },
        "operator_email": "john@example.com",
        "flight_date": "2026-02-10",
        "review_notes": "CTR Schiphol AMS 1: Flight altitude 80m exceeds zone max 67m",
        "rejection_reason": null,
        "reviewed_at": "2026-02-05T14:02:00+00:00",
        "links": {
            "api": "...",
            "track": "..."
        }
    }
}

Headers and signature

Header Description
X-Webhook-Event Event type (status_change, test)
X-Webhook-ID Unique delivery ID
X-Webhook-Signature t=<unix timestamp>,v1=<signature>

The signature is an HMAC SHA-256 of "<timestamp>.<raw JSON body>" using your webhook secret. Recompute it and compare before trusting the payload.

A `callback_url` set on an individual flight request receives the same events and payload, but **without** the `X-Webhook-Signature` header. Use registered webhooks if you need to verify the sender.