Create a new document record with file and metadata
Bearer token for authentication
The document file to upload (PDF, image, Word document, etc.)
Resource type identifier
"document"Name of the document file
1 - 255Workspace UUID
External Workspace UUID
Collection UUID (optional)
Source phone number for the document
Target phone number for the document
Type of document classification. See all document types for complete list.
invoice, receipt, purchase_order, ... Type for workspace relationship
"workspace"UUID of the workspace to associate with this document
Type for company relationship
"company"UUID of the company to associate with this document
Type for people relationship
"people"UUID of the person to associate with this document
Phone number to identify the person (alternative to ID)