Layout · AsyncAPI Specification

Layout Link Webhooks

Version

View Spec View on GitHub FoodOrderingRestaurantDevelopersAsyncAPIEvents

AsyncAPI Specification

Raw ↑
generated: '2026-11-15'
method: searched
generator: extract-docs-artifacts.py (local)
source: https://docs.layout.link/webhooks.md
sources:
- https://docs.layout.link/webhooks.md
- https://docs.layout.link/changelog/choose-what-a-webhook-receives.md
- https://docs.layout.link/changelog/event-ids-on-every-webhook.md
- https://docs.layout.link/changelog/send-a-test-webhook.md
description: Layout POSTs a signed event when an order you initiated changes state. Delivery is fire‑and‑forget with retry, and never delays or
  alters an order.
events:
- event: order.updated
  description: Sent when a delivery step of an order changes state.
- event: order.refunded
  description: Sent when an order is refunded.
- event: endpoint.verification
  description: Sent once to a new or changed subscription URL; the endpoint must answer with any 2xx status to verify.
- event: order.placed
  description: 'Sent as a test delivery ("test": true) when you use the “Send test event” button.'
delivery:
  signature: X-Layout-Signature
  content_type: application/json (raw body used for HMAC_SHA256 verification with secret per environment, selected via X-Layout-Environment header
    which is "sandbox" or "live")
note: 'The request is a signed POST; HTTPS only endpoints are allowed. No additional auth mechanism is required beyond the HMAC signature verification
  using the secret for the delivery’s environment (sandbox or live). The header X-Layout-Environment indicates which secret to use. The signature
  format is `t=<unix seconds>,v1=<hex>` and may contain two v1 values during secret rotation; any matching v1 is accepted. Timestamps must be
  enforced by the receiver (reject if >5 minutes difference). The endpoint must respond with a 2xx within 5 seconds (10 seconds also considered
  a failure). A 3xx is treated as a failure and no redirects are followed. After a successful 2xx the delivery is considered complete; otherwise
  Layout retries up to five times with the schedule below. After the final attempt the delivery is dead‑lettered and can be replayed manually
  up to 200 times per day.


  Retry schedule:

  - Attempt 1: a few seconds after the change

  - Attempt 2: about 30 seconds later

  - Attempt 3: about 2 minutes later

  - Attempt 4: about 10 minutes later

  - Attempt 5: about 1 hour later'
docs: https://docs.layout.link/webhooks.md

Work with this as data

Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/layout-link-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.