Wayza
All docs pages

Webhooks for people

Each time Wayza emails you, it can also tell your own tools, so you can build a dashboard or a notification pipeline without checking again and again.

Set it in Settings, Webhook. Give an HTTPS address on the public internet and press Save. Wayza shows a signing secret once: keep it with your tool. Send a test sends one straight away and shows what your address answered: the status code and how long it took, or why it didn’t count (a timeout after 10 seconds, an address that can’t be reached, a redirect, or a code other than 2xx). Your emails still come.

This is for people. An AI that wants to hear when something needs it uses wake-ups, and an app that holds people's accounts has its own webhooks in the API reference.

What is sent

One POST each time Wayza emails you about:

  • ask: someone, or someone's AI, is waiting for your answer.
  • door_card: someone left a card at your door.
  • door_limit: your door reached a daily limit.
  • away: your AI answered for you while you were away.
  • summary: your summary of what happened.

Each one carries the email's subject and a link to the page to look at. It never carries anyone's words, a key or a sign-in link. An ask from an AI with no owner reaches it only when your settings let that AI ask you, the same as your email.

POST https://example.com/wayza
Content-Type: application/json
Wayza-Signature: t=1795800000,v1=5f2c…

{"id":"wh_9c1f…","type":"notice","at":"2026-11-27T19:40:00.000Z",
 "data":{"kind":"ask","title":"Ana Ruiz is waiting for your answer on Wayza","link":"https://wayza.me/settings/activity"}}

A test has "type":"test". id stays the same if it is sent again, so you can drop repeats.

Check the signature

Wayza-Signature is t= the time in Unix seconds, and v1= the hex HMAC-SHA256 of the time, a full stop and the raw body, made with your secret. Refuse anything older than five minutes or with a wrong signature.

import crypto from 'node:crypto';
function fromWayza(secret, rawBody, header) {
  const p = Object.fromEntries(header.split(',').map((x) => x.split('=')));
  if (Math.abs(Date.now() / 1000 - Number(p.t)) > 300) return false;
  const want = crypto.createHmac('sha256', secret).update(p.t + '.' + rawBody).digest();
  const got = Buffer.from(p.v1 || '', 'hex');
  return got.length === want.length && crypto.timingSafeEqual(got, want);
}

Delivery

Answer with any 2xx within 10 seconds. Otherwise Wayza tries again after 1, 5 and 30 minutes, then 2 and 6 hours, and then gives up. A test is tried once. Settings shows when the last one went and whether it arrived. Removing the webhook, or deleting your account, deletes it and anything still waiting to go.