Document Created
Document created and webhook fired just before transitioning to `processing` status. Contains minimal information available at creation time.
**⚠️ Important:** The document will be empty at this stage with status `processing`. API requests for this document will return a 202 Accepted status indicating the document is reserved but not yet available for retrieval. Full document data will be available after the `document.processed` event when status becomes `processed`.
Please refer to the latest documentation for payload details.
Payload
The payload of this webhook request is an object.
id
Unique identifier for this event (use for idempotent processing)
timestamp
Event timestamp
version
Version of the event schema
data
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
type
Allowed values:
url
URL field (typically empty string for security)
Response
200
any
Return a 200 status to indicate that the data was received successfully.