webhook.test
When Signals sends webhook.test, its payload and how to handle it in Node.js, Python and Java.
You sent a test event with POST .../webhook/test. It is not queued, retried or listed.
Payload
Every delivery is the envelope type, timestamp, sequence and data; the delivery's id is the webhook-id header. See Verify webhooks.
{
"type": "webhook.test",
"timestamp": "2026-10-25T08:00:02.000Z",
"sequence": 1058,
"data": {
"subscriber": "ovok-sub-4f2a9c",
"sentAt": "2026-10-25T08:00:02.000Z"
}
}Handle the event
Verify the delivery first (Verify webhooks), then act on the verified event as in Handle an event.
export async function handle(webhookId, event) {
if (!(await firstTime(webhookId))) return;
const { data } = event;
switch (event.type) {
case 'webhook.test':
console.log('Signals test event', data.sentAt);
break;
default:
break;
}
}Related
Last updated on