Skip to content
v5.5

Webhooks

Send flight, pilot and fleet events to your own systems as they happen, and see whether each endpoint is receiving them.

A webhook sends an event to an address of yours, such as a pilot approval, a completed PIREP or a booking, when it happens. You need Manage API clients and webhooks, and webhooks are not available during a trial. A red badge on API & Webhooks in the menu counts webhooks that are failing or paused automatically.

  1. Select New Webhook.
  2. Enter a name, which only your staff see, and the Endpoint URL. It must be HTTPS and on the public internet.
  3. Tick at least one event. Each group can be opened and ticked as a whole.
  4. Optionally add Custom Headers, sent with every event, for a receiver that wants its own key or tag.
  5. Create the webhook. vAMSYS sends a test event and tells you what the endpoint answered.
  6. Copy the Signing Secret it shows, and select I Have Saved It.

The secret is shown once and starts with whsec_. vAMSYS keeps it only to sign events. Put it in your receiver, and verify every event with it.

Each webhook is a card with its address, its health, the delivery rate over the last 7 days, the number of deliveries this week, the time since the last event, the latest deliveries and the masked secret. Open Delivery Log or View All … Deliveries This Week opens its deliveries.

Health Meaning
Healthy At least 95% of this week’s finished deliveries succeeded.
Degraded Between 80% and 95% succeeded, or the latest events failed.
Failing Less than 80% succeeded, or five events in a row failed.
Waiting No event has been sent yet.
Quiet Nothing finished this week.
Paused You paused it.
Paused Automatically vAMSYS paused it after it kept failing.

Actions: Edit, Send Test Event, Pause or Resume, Regenerate Secret and Delete. Editing the address sends a test event to the new one.

vAMSYS tells the owner and staff with Manage API clients and webhooks in the Orwell bell when a webhook fails, is paused or recovers.

  • After five failed events in a row, they are told, and each new event is tried once instead of three times. vAMSYS retries the oldest failed event now and then (after 30 minutes, 2 hours, 6 hours, then twice a day), so it notices when the endpoint answers again.
  • If every event has failed for 3 days and at least 10 in a row, the webhook is paused automatically, with a day’s warning. It is also paused at once if the endpoint answers 410 Gone. Events are held, not sent.
  • A webhook paused automatically for 14 days is deleted with its held events, with 3 days’ warning.
  • When it answers again, the failed and held events are sent again, oldest first. Resume sends them at once.

A webhook you pause yourself is left alone: no retries, no automatic pause and no deletion. Events that happen while it is paused are not sent to it, not even after you resume it. Resume needs an HTTPS address on the public internet, so change the address first if it no longer is.

The delivery log lists every event sent to the endpoint, newest first. A resent event keeps its event id, so the receiver can tell it saw it before.

Columns are Status (Delivered, Failed, Sending or Retrying, or Held), Event, Response, Attempts, Took, Next Try and What Went Wrong. Filter by status, event or dates.

  • Attempts on a row shows each try with its time, response and error.
  • Resend sends a delivered or failed event again, as it was, and tries it once.
  • Resend Failed sends a test event first. If the endpoint answers it, every delivery from the last 14 days that failed or is stuck is sent again, oldest first.
Group Events
Pilot Management pilot.registered, pilot.approved, pilot.rejected, pilot.banned, pilot.unbanned, pilot.deleted, pilot.hub_changed, rank.changed, pilot.note.created, pilot.note.updated, pilot.note.deleted
Flight Operations booking.created, booking.cancelled, pirep.complete, pirep.accepted, pirep.rejected, pirep.invalidated, pirep.failed, pirep.need_reply, pirep.times.updated, pirep.points.updated, pirep.bonus.updated
Fleet Management aircraft, fleet and livery, each with .created, .updated and .deleted
Notifications alert and notam, each with .created, .updated and .deleted
Cargo & Load Planning loadfactor, loadcalendar and goods, each with .created, .updated and .deleted
Rewards & Recognition badge.created, badge.updated, badge.deleted, badge.awarded, badge.revoked, and rank.created, rank.updated, rank.deleted
Activities activity.created, activity.updated, activity.deleted, registration.created, registration.deleted, logbook.created, logbook.updated, logbook.completed
Ad-hoc Flights adhoc_request.created, .approved, .declined, .withdrawn, .expired and .closed

Every event is JSON with the same shape:

{
"event": "pilot.registered",
"event_id": "evt_a1b2c3d4e5",
"version": 1,
"timestamp": "2026-11-27T10:00:00+00:00",
"airline_id": 123,
"data": {}
}

version is the shape of the payload. A change to it is announced and given a new number. data is the record as it was at timestamp, the same structure as the Operations API’s Show responses. A resent event carries the same data, so fetch the record from the Operations API when you need it as it is now.

Every event is signed two ways, so you can verify it either way. Always check against the raw request body, exactly as received. Re-encoding parsed JSON changes unicode escapes and breaks the signature. Verify on your server, never in browser code, which would expose your secret.

  • Standard Webhooks (recommended). Events follow the Standard Webhooks specification, so its official libraries verify them with your secret. The headers are webhook-id (the same as event_id, and the same every time the event is sent), webhook-timestamp (when this attempt was made, in Unix seconds) and webhook-signature (v1, and a base64 HMAC-SHA256). Refuse a timestamp more than five minutes from your clock, so a recorded call can’t be replayed.
  • X-vAMSYS-Signature. The hex HMAC-SHA256 of the body, keyed with your whole secret, including whsec_. It always uses the current secret.

Regenerate Secret makes a new secret, shown once. X-vAMSYS-Signature uses it at once, so your receiver refuses events until it has it. webhook-signature carries a signature for the old secret as well for 24 hours, so a receiver that checks it can switch without missing an event. A secret made before the Standard Webhooks format still works with X-vAMSYS-Signature. Regenerate it to verify with a Standard Webhooks library.

Spot something wrong or missing? Email us at [email protected].