document.deleted
Fires once per document when a document is deleted on its own, with the upload it came in, or with its loan or borrower. The document can no longer be read, so drop your copy. GET /api/documents with updated_since lists the same deletion as an item whose status is deleted.
Headers
Signature over the exact request body: t=<seconds since the Unix epoch>,v1=<lowercase hex HMAC-SHA256 of "{t}.{body}" keyed with your endpoint's signing secret>. Verify it before trusting the body, and reject a t more than five minutes from your own clock. During a secret rotation both the new and the previous secret verify for 24 hours; each delivery is signed with exactly one.
The event id, identical to the body’s id. Stable across retries and replays, and shared by every endpoint one event fans out to. Delivery is at-least-once, so dedupe on it.
Payload
Event id: evt_ plus 24 lowercase hex characters. Also sent as the SpreadSpace-Event-Id header. Stable across retries and replays, so dedupe on it.
Server-side wall-clock time the event was created, RFC 3339. Deliveries are not ordered; reconcile on this.
true for live activity, false for test mode (an ss_test_ key or the sandbox simulator). Branch on it to route test deliveries to a staging handler.
The data object on a document.deleted delivery, sent once per
document when a document is deleted on its own, with the upload it came
in, or with its loan or borrower.
Identifiers only. The document can no longer be read; drop your copy.
GET /api/documents with updated_since lists the same deletion
as an item whose status is deleted.