Queek logo

Webhooks

Your systems hear about every order. The moment it happens.

Add an endpoint and Queek sends it a signed event when something changes in a store: an order on any channel, a product, a customer, a stock level.

  1. When it happensorders/paid

    An order is paid, on any channel the store sells on.

  2. Queek sendsPOST /webhooks

    A signed JSON event to your HTTPS address.

  3. You answer200 OK

    Within five seconds. A missed event is tried again for about four hours.

The Add webhook dialog in the Queek dashboard: a URL field, an optional description, and the Events list with orders/create, orders/paid, orders/updated, orders/fulfilled and orders/cancelled, each with its meaning.
Settings → Notifications → Webhooks → Add webhook

What you can build

Stop polling.
Let the store tell you.

One endpoint hears from every channel the store sells on: the website, chat, POS and in-store QR.

  • Send paid orders to fulfilment or accounting

    Post each order to your warehouse or your books the moment it's paid.

    • orders/paid
    • refunds/create
  • Keep a headless site fresh

    Refresh a product page when the product changes, not on a timer.

    • products/create
    • products/update
    • products/delete
  • Keep stock in step

    Hear every stock change, with its reason, as it happens.

    • inventory_levels/update
  • Follow every order

    See orders from the website, chat, POS and QR in your own dashboard.

    • orders/create
    • orders/updated
    • orders/cancelled
  • Win back unpaid carts

    Know when a signed-in shopper leaves a cart, or an order, unpaid.

    • checkouts/create
    • payment_checkouts/create
  • Answer privacy requests

    Get the merchant's data and erasure requests in your app, with ids only.

    • customers/data_request
    • customers/redact

One delivery, up close

Signed, so you know
it came from Queek.

Every delivery follows the Standard Webhooks scheme, so any Standard Webhooks library can check it.

POST your-app.example.com/webhooks/queek

Request

POST /webhooks/queek HTTP/1.1Host: your-app.example.comContent-Type: application/jsonUser-Agent: Queek-Webhooks/1.0webhook-id: 9f0f7a0e-3c1e-4c7b-…webhook-timestamp: 1790000000webhook-signature: v1,g0hM9SsE+OTPJ…=X-Queek-Topic: orders/paidX-Queek-Api-Version: v1

Body

{  "id": "9f0f7a0e-3c1e-4c7b-…",  "topic": "orders/paid",  "api_version": "v1",  "created_at": "2026-09-21T14:13:19+00:00",  "data": {    "id": 48213,    "payment_status": "paid",    "is_paid": true,    "platform": "pos",    "currency": "USD",    "total": "51.00"  }}
  • webhook-signature

    HMAC-SHA256 over the id, the timestamp and the raw body. The key is the bytes after whsec_.

  • webhook-id

    The same on every retry. Store it and skip what you've already seen.

  • webhook-timestamp

    Reject a delivery more than 300 seconds old. A rotated secret keeps working for 24 hours.

Delivery and retries

Built for the day
your server is down.

Answer with any 2xx within five seconds. Anything else, a redirect or a timeout counts as a failure and is tried again.

  1. Attempt 1Now
  2. Attempt 2+5 s
  3. Attempt 3+30 s
  4. Attempt 4+2 min
  5. Attempt 5+10 min
  6. Attempt 6+30 min
  7. Attempt 7+1 h
  8. Attempt 8+2 h

Eight attempts over about four hours. Each wait counts from the attempt before it.

  • At least once, in any order

    An event can arrive twice or out of order. Dedupe on the event id and keep a reconciliation job.

  • Acknowledge, then work

    Store the event, answer 2xx, and do the slow work afterwards.

  • A failing endpoint is paused

    After 24 hours of failures it is turned off and the merchant is told. One success resets the count.

  • Replay from the log

    Deliveries are kept for 7 days. Replay one from the dashboard and it goes out with a new event id.

Topics

Subscribe to
only what you need.

Pick topics per endpoint. Every event arrives in one envelope: id, topic, api_version, created_at and data.

Orders

5
  • orders/create
  • orders/paid
  • orders/updated
  • orders/fulfilled
  • orders/cancelled

Products and stock

4
  • products/create
  • products/update
  • products/delete
  • inventory_levels/update

Customers

7
  • customers/create
  • customers/update
  • customers/delete
  • customers_email_marketing_consent/update
  • customers_marketing_consent/update
  • customers/data_request
  • customers/redact

Checkouts, refunds and returns

6
  • checkouts/create
  • checkouts/update
  • payment_checkouts/create
  • refunds/create
  • returns/create
  • returns/update

Invoices and messages

4
  • invoices/create
  • invoices/update
  • invoices/delete
  • conversation_messages/create

Store, markets and languages

9
  • store/update
  • markets/create
  • markets/update
  • markets/destroy
  • locales/create
  • locales/update
  • locales/destroy
  • translations/update
  • translations/delete

Topics that carry customer, checkout, invoice, return or message data reach an app only when it holds the scope to read that data.

Topics and payload schemas

Set it up

Two ways
to subscribe.

  1. 01

    From the dashboard

    For a headless site, your own server or another system. Add up to 10 endpoints. Apps you install add their own here and manage them, marked with the app's name.

    Settings → Notifications → Webhooks
    1. Add webhook Opens the form.
    2. URL Your HTTPS address, e.g. https://example.com/webhooks/queek.
    3. Events Tick the topics this address should receive.
    4. Copy your signing secret Shown once. Keep it in your server's settings.
    Webhooks docs
  2. 02

    From an app

    List the topics in the app's manifest. They're subscribed when a merchant installs the app, and the SDK checks each delivery before your handler runs.

    queek.app.toml
    [webhooks]topics = ["orders/paid"]url = "https://my-app.example.com/webhooks"
    server.ts
    import { handleWebhookRequest }  from "@usequeek/app-sdk"; export function POST(request: Request) {  return handleWebhookRequest(request, {    store,    handlers: {      "orders/paid": async (envelope) => {        // envelope.data is the order      },    },  });}
    The app SDK

Webhooks fire from a dev store just as they do from a live one, so you can prove your receiver before a real order reaches it. Dev stores

Webhook questions

Before you wire it up.

Do I get orders from chat and POS too?

Yes. orders/create fires for an order placed on any channel, so one endpoint sees the website, chat, POS and QR sales.

How do I verify a delivery?

Deliveries follow the Standard Webhooks scheme: an HMAC-SHA256 signature over the event id, the timestamp and the raw body. Any Standard Webhooks library can check it.

Verify before you trust
What happens if my endpoint is down?

Queek tries again 7 more times over about four hours. If the endpoint keeps failing for 24 hours it is turned off and the merchant is told.

Can events arrive twice or out of order?

Yes. Dedupe on the event id, which a retry keeps, and use timestamps or a fresh read to settle the order of events.

Does orders/updated repeat the other order topics?

It fires alongside them, for every change. Subscribe to it only if you want every transition.

Is there an API to create endpoints?

No. A merchant adds endpoints in the dashboard, and an app lists its topics in its manifest.

Start building

Plug Queek into
the rest of your stack.

Accounting, a warehouse, an ERP or your own dashboard. Try it on a free dev store first.