> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superskope.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Events and signed webhooks

> Receive metadata, then fetch content with scoped API access.

`events:read` exposes bounded metadata, never message bodies, raw provider payloads or private engine URLs. Fetch permitted history/media separately when content is needed. Exact selected chats and explicitly authorised verified created groups bound delivery; phone/LID aliases are not silently added.

## Pull events

`GET /api/v1/events` begins at the present cursor, without backfill. Persist `nextCursor`, pass it as `after` and continue while `hasMore`. An empty filtered page can still advance the cursor. Source retention is seven days or 50,000 events. HTTP 410 means resync conversation/history and start a new subscription.

Available metadata includes message received/sent/receipt/edited/deleted, group joined/left/updated/participants, send submitted/uncertain, connection changed and scoped `agent.message` activation metadata. Agent content is fetched separately with its independent scopes; see [agent setup](https://docs.superskope.com/developers/agents.md). Engine/session subscriptions determine availability. New docs do not refresh a live linked session.

## Receive webhooks

An owner configures one HTTPS webhook per events-enabled key and copies the signing secret once. New subscriptions begin at the current cursor. Reconfiguring the URL rotates the secret and cancels queued old deliveries; already submitted attempts may finish.

Verify `X-SuperSkope-Timestamp` (Unix seconds) and `X-SuperSkope-Signature` (hex HMAC-SHA256) over the exact raw bytes of `timestamp + '.' + requestBody` before JSON parsing. Reject timestamps outside five minutes, compare in constant time, durably deduplicate event IDs, queue work and return 2xx. Download the tested Node verifier from **your installation’s** `/docs/webhook-verifier.mjs` endpoint.

Delivery is at least once and may arrive out of order. A repeated callback must never cause another WhatsApp effect. Failed callbacks retry up to eight attempts, with delays 10/20/40/80/160/320/640 seconds and an eight-second request deadline. Exhausted attempts remain visible seven days; there is no automatic redrive.

Only public HTTPS DNS names on port 443 resolving to public IPv4 are supported. No IP literals, credentials, query/fragment, redirects, private networks or IPv6-only hosts. DNS is revalidated and pinned on each attempt. Pending jobs are bounded at 5,000 per installation. An expired source cursor disables the webhook until owner resync/reconfiguration.

Revocation, expiry and changed owner access block future attempts. Check owner delivery status and [safe request handling](https://docs.superskope.com/developers/reliability.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.