Steppd fires a webhook event at each stage of a document’s lifecycle. All four document events share the same common envelope. TheDocumentation Index
Fetch the complete documentation index at: https://docs.steppd.com/llms.txt
Use this file to discover all available pages before exploring further.
event field identifies which event fired, and the data object carries the document fields described below.
document.created
Fires when a new document is created. Event name:document.created
Key fields in data
The unique ID of the newly created document.
The document title at the time of creation.
The email address of the member who created the document.
Example payload
document.published
Fires when a draft document is published and becomes the live version of record. Carries the full structured content of the document. Event name:document.published
Key fields in data
The document ID.
The document title.
The version string at the time of publishing.
The department name, if set.
ISO 8601 timestamp of when the document was published.
The email address of the member who published the document.
The full structured content of the document.
Example payload
document.revised
Fires when a revision of a document is published. A revision is a draft created from a published document viaPOST /documents/:id/revise; this event fires when that revision draft is subsequently published, not when the revision draft is first created. Carries the same fields as document.published, plus previous_version_id.
Event name: document.revised
Key fields in data
The ID of the revision document being published.
The document title.
The version string of the revision.
The department name, if set.
ISO 8601 timestamp of when the revision was published.
The email address of the member who published the revision.
The ID of the original document this revision was created from.
Full structured content, same shape as
document.published.Example payload
document.archived
Fires when a published document is archived. Archived documents are removed from the active document list and cannot be published or revised. Event name:document.archived
Key fields in data
The ID of the archived document.
The document title.
The email address of the member who archived the document.