Document Approved

Document has been approved through workflow system.

⚠️ Note: This event is currently being reevaluated and may change.

Please refer to the latest documentation for payload details.

Payload

The payload of this webhook request is an object.
idstringRequired

Unique identifier for this event (use for idempotent processing)

timestampdouble or stringRequired
Event timestamp
versionstringRequired
Version of the event schema
dataobjectOptional

Document structure returned in webhooks and GET /documents/:id endpoint.

Data Format:

  • Data fields contain direct values: {"total": 100}
  • Validation errors include validation, info, and paths fields
  • Document type can be a built-in type name, custom type alias, or ObjectId for custom types
typeenumOptional
Allowed values:
urlstringOptional

URL field (typically empty string for security)

Response

200
Webhook received successfully