Event Type
document.received
Description
This event is fired whenever a document is received by the agent, whether via email, SMS, portal upload, or API. Use this event to track document collection and trigger downstream processing.Payload Structure
string
required
The event type:
document.receivedobject
required
The received document object
object | null
Workspace user who uploaded this document. Returns
null for documents not uploaded by a workspace user.string
required
ID of the workspace this event belongs to
Signed URLs
ThesignedUrl field provides temporary access to the document. Note that:
- URLs expire after 1 hour
- Request a new document via the API to get a fresh signed URL
- URLs are pre-signed for secure access
Next Steps
After receiving this event, you may want to:- Download and process the document
- Wait for the
document.extractedevent for extraction results - Update your system with the new document information