Skip to main content
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.

Document events

Fires when a new document is created in your organization (as a draft, before any publishing).Data payload
string
UUID of the newly created document.
string
Title of the document at creation time.
string
Email address of the team member who created the document.
Fires the first time a document transitions from draft to published status.Data payload
string
UUID of the published document.
string
Document title.
string
The type of document: "sop", "guide", "playbook", or "handbook".
string
Version label at the time of publication (for example, "1.0" or "v2").
string | null
Department the document belongs to, or null if unassigned.
string
ISO 8601 timestamp when the document was published.
string
Email address of the team member who published the document.
array
Structured content of the document. Each section contains steps, and each step may contain sub-steps.
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:
string
UUID of the document record representing the prior published version.
Fires when a document is archived and removed from the active library.Data payload
string
UUID of the archived document.
string
Title of the document at the time it was archived.
string
Email address of the team member who archived the document.
Fires when an editor is assigned to a document.Data payload
string
UUID of the document.
string
Title of the document.
string
UUID of the user who was assigned as editor.

Member events

Fires when an admin sends an invitation to a new team member.Data payload
string
Email address the invitation was sent to.
string
UUID of the admin who sent the invitation.
Fires when an invited user accepts their invitation and joins the organization.Data payload
string
UUID of the user who joined.
string
Email address of the new member.
Fires when an admin promotes a member to admin or demotes an admin to member.Data payload
string
UUID of the member whose role changed.
string
The role the member now holds. Either "admin" or "member".
string
UUID of the admin who made the change.