Use this file to discover all available pages before exploring further.
Each event DocInject dispatches includes a standard envelope with event_type, organization_id, org_slug, and occurred_at at the top level. The fields documented here describe the data object inside that envelope. For the full envelope shape, see the webhooks overview.
{ "event_type": "document.published", "organization_id": "a1b2c3d4-0000-0000-0000-111122223333", "org_slug": "acme-ops", "occurred_at": "2024-03-10T11:00:00Z", "data": { "document_id": "doc-uuid-0001", "title": "Onboarding Checklist", "version": "1.0", "department": "People Ops", "published_at": "2024-03-10T11:00:00Z", "published_by_email": "alex@acme.example", "sections": [ { "title": "Getting started", "content": "Complete these steps before your first day.", "images": [], "steps": [ { "title": "Set up your laptop", "content": "Follow the IT setup guide linked in your welcome email.", "images": ["https://cdn.docinject.io/img/setup-guide.png"], "substeps": [ { "title": "Install required software", "content": "Run the bootstrap script from the IT setup repository.", "images": [] } ] } ] } ] }}
document.revised
Fires when a document that has already been published is revised and republished. Contains the same structured payload as document.published plus a reference to the previous version.Data payloadAll fields from document.published are present, plus: