Skip to content

Webhook payloads: the reference

The JSON every webhook sends, with a captured payload for created, updated, matches and deleted, what each key means, and why a delivery can arrive twice.

Updated November 2026

Every delivery is one JSON object with the same envelope, and the trigger decides which parts are filled in. We captured the payloads below with a receiver connected to the demo database's Orders table, and they're quoted as they were delivered.

Before you start, note that the order of properties in the delivered JSON means nothing and isn't guaranteed. Read fields by name, and verify the signature on the raw bytes, never on a re-serialized object.

record.created

Here is a new order, in full, as it was delivered:

{
  "test": false,
  "after": {
    "fields": {
      "Name": "ORD-1050",
      "Paid": false,
      "Items": 1,
      "Notes": "Guide walkthrough order.",
      "Total": 45,
      "Placed": "2026-08-09T14:30:00.000Z",
      "Plants": [{ "id": "rec_y4crk8w9hc3e", "display": "Monstera deliciosa" }],
      "Status": "New",
      "Customer": [{ "id": "rec_gs8683t5vvcn", "display": "Nour El-Sayed" }],
      "Discount": null,
      "Deliver by": "2026-08-12",
      "To collect": null,
      "Assigned to": null,
      "Send invoice": null,
      "Customer email": "nour.elsayed@example.com",
      "Delivery window": null
    }
  },
  "event": "record.created",
  "table": { "id": "tbl_sf6ir2p5y3uc", "name": "Orders" },
  "before": null,
  "database": { "id": "db_rci9p7iggin5", "name": "Sakkara Plants" },
  "field_ids": {
    "Name": "fld_rura8c4k4hvy",
    "Paid": "fld_54jth3ba5mqx",
    "Items": "fld_682w7f8s4mji",
    "Notes": "fld_n3ixit8erdw4",
    "Total": "fld_hxccfbm9g77r",
    "Placed": "fld_6v55cun3tdkw",
    "Plants": "fld_q6vgq8ntevpm",
    "Status": "fld_t2xzarddguef",
    "Customer": "fld_fwhs3ksx7i9y",
    "Discount": "fld_2cds8jyptifn",
    "Deliver by": "fld_fje32cs9basz",
    "To collect": "fld_z8gcp9z6dzfh",
    "Assigned to": "fld_6mmcfuicsn9z",
    "Send invoice": "fld_7c7rctin9qxm",
    "Customer email": "fld_bftdjdcgku7d",
    "Delivery window": "fld_ycbcnc3iegc6"
  },
  "record_id": "rec_vk2563xwk2d6",
  "delivery_id": "dlv_k6d7adu95w49",
  "occurred_at": "2026-08-09T23:00:54.533Z",
  "changed_field_ids": []
}

The envelope, field by field

  • delivery_id: this delivery's unique id. It's also the key to idempotency, which the last section of this page covers.
  • event: record.created, record.updated, record.matches, record.deleted, webhook.test, or button.pressed (from a button field connected to the webhook).
  • occurred_at: when the change happened, in ISO 8601 UTC. This isn't when the attempt was sent, and a retried delivery keeps its original occurred_at.
  • database, table: each one is { "id", "name" }. On a whole-database webhook, table tells you which table the event came from.
  • record_id: the record, rec_…. It stays the same for as long as the record exists, and it's null only on a test.
  • before, after: full snapshots of the record with every field, or null where that state doesn't exist. before is null on a create, and after is null on a delete. Values arrive in the same form the API returns them. Select cells come as choice names, and dates as ISO 8601 (bare dates for date-only fields, UTC instants for date-and-time ones). Checkboxes are true or false, or null while a box has never been set, which conditions and filters count as unchecked. Linked records come as [{ "id", "display" }], members as emails, and attachments as file objects with signed links (see below). Formulas and rollups arrive as their computed values, and a formula that reads the clock with TODAY() or NOW() has the value it had at that moment.
  • changed_field_ids: the fields this edit wrote, as field ids. They're always ids, whatever the cell keying. The list is empty on create, on delete, and on matches fired by the clock. "Wrote" is meant literally. Writing a value equal to the old one still lists the field, so to act only when the value is different, compare that field in before and after.
  • field_ids: the name → id map for every field, so a consumer that keys by name can still translate to ids, which don't change when a field is renamed.
  • test: true only for Send a test, and false for every other delivery.

Cell keying. By default, cells are keyed by field name, with field_ids alongside, as above. Switch the webhook's Cells keyed by toggle to Field id and cells arrive keyed by fld_… instead, with the reverse map, field_names, alongside. Ids survive renames, so anything long-lived should use them. Either way, every delivery carries both the names and the ids.

File links are short-lived. An attachment arrives as { "id", "filename", "size_bytes", "content_type", "url", "thumb_url", "card_url" }, and its three links are signed when the change is written. They open for about an hour, and never less than 45 minutes. A receiver that keeps files fetches them as the delivery arrives. A receiver that comes back later, or a replay sent later, has to read the record again through the API for fresh links.

record.updated

This is the same order, with Status edited from New to Preparing and an assignee set. Two fields were written, and both are listed:

{
  "test": false,
  "event": "record.updated",
  "table": { "id": "tbl_sf6ir2p5y3uc", "name": "Orders" },
  "database": { "id": "db_rci9p7iggin5", "name": "Sakkara Plants" },
  "record_id": "rec_vk2563xwk2d6",
  "delivery_id": "dlv_8hqvge9kp3xe",
  "occurred_at": "2026-08-09T23:02:13.877Z",
  "changed_field_ids": ["fld_t2xzarddguef", "fld_6mmcfuicsn9z"],
  "before": { "fields": { "Status": "New",       "Assigned to": null, "…": "…" } },
  "after":  { "fields": { "Status": "Preparing", "Assigned to": "omar@sakkaraplants.com", "…": "…" } }
}

(The "…" rows stand for the other thirteen fields. Both snapshots always carry the entire record, as in the create above, and are cut short here for length. field_ids is included too.)

With before and changed_field_ids in the delivery, your receiver doesn't need to make a second request. "Status became Preparing" and "someone edited the notes of an order that was already Preparing" are different automations, and you can tell them apart from the one delivery.

record.matches

This event fires on the transition into matching (how that works), and carries the record's state on both sides of the change that made it match. The webhook here had the condition Status is Out for delivery:

{
  "event": "record.matches",
  "record_id": "rec_vk2563xwk2d6",
  "delivery_id": "dlv_3tjk3625de4r",
  "occurred_at": "2026-08-09T23:02:17.923Z",
  "changed_field_ids": ["fld_t2xzarddguef"],
  "before": { "fields": { "Status": "Preparing",        "…": "…" } },
  "after":  { "fields": { "Status": "Out for delivery", "…": "…" } }
}

When time, and not an edit, makes a record start matching (a condition naming today or now), there's no edit to describe. The delivery arrives with "before": null and "changed_field_ids": [], and the record's state in after. This is what we captured live from a Placed on or before now webhook: "event": "record.matches", "before": null, "changed_field_ids": [], "occurred_at": "2026-08-09T23:09:19.803Z".

record.deleted

The record's final state is in before, and after is null:

{
  "test": false,
  "after": null,
  "event": "record.deleted",
  "table": { "id": "tbl_sf6ir2p5y3uc", "name": "Orders" },
  "before": {
    "fields": {
      "Name": "ORD-1050",
      "Paid": true,
      "Status": "Preparing",
      "Notes": "Left with the doorman.",
      "…": "…"
    }
  },
  "database": { "id": "db_rci9p7iggin5", "name": "Sakkara Plants" },
  "record_id": "rec_vk2563xwk2d6",
  "delivery_id": "dlv_ptxbjezxsz8a",
  "occurred_at": "2026-08-09T23:03:12.078Z",
  "changed_field_ids": []
}

Deleted records stay in the trash for 7 days. record.deleted fires once, when the record goes to the trash. Purging it (one record, Empty trash, or the 7-day sweep) fires nothing more, and removes the record's finished deliveries from the ledger. Restoring a record sends a new record.created, with before: null and the same record_id.

webhook.test

Send a test delivers the same envelope with "test": true, the event webhook.test and "record_id": null. The values are samples, but the cells use your table's own field names (or ids), and the test fills the same sides your trigger's live deliveries fill: after for a created record, before and after for an update or a match, and before alone for a delete. That way an automation tool's "determine data structure" step learns the exact shape live deliveries will have, down to which side to map from. In any handler that acts on the data, branch on test early.

Assume it arrives twice

Delivery is at-least-once. If a delivery times out on your side, your server may still have processed it. Tabla can't know that, so it retries with the same delivery_id and the next attempt number (the X-Tabla-Delivery header is dlv_….2 on the second try). Either of two habits makes a duplicate harmless:

  • Record each delivery_id you've processed and drop repeats.
  • Or write handlers that can safely run twice. "set Status to Confirmed" survives a duplicate, but "append a row" doesn't.

A replay counts as a new delivery, with the same payload under a fresh delivery_id, because you asked for it again.

Two more limits apply. Writes touching 50 or more records at once fire no webhooks, and each delivery describes a single record.

About Tabla

Tabla is a no-code database with Postgres underneath. Every feature is on every plan, you get a million records per database, and you can export your whole database in one file any day.

More guides