Headers
Bearer token for authentication
Body
multipart/form-data
The document file to upload (PDF, image, Word document, etc.)
Resource type identifier
Allowed value:
"document"
Name of the document file
Required string length:
1 - 255
Workspace 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.
Available options:
invoice
, receipt
, purchase_order
, ...
Type for workspace relationship
Allowed value:
"workspace"
UUID of the workspace to associate with this document
Type for company relationship
Allowed value:
"company"
UUID of the company to associate with this document
Type for people relationship
Allowed value:
"people"
UUID of the person to associate with this document
Phone number to identify the person (alternative to ID)