Upload a document
Attaches a customer-supplied document to a business or an agent thread. The file must be base64-encoded, at most 10 MB, and a PDF, JPEG, or PNG. The content type is detected from the file bytes, not the filename.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Base64-encoded file contents. The decoded file must be at most 10 MB and its content type, detected from the bytes rather than the filename, must be application/pdf, image/jpeg, or image/png.
Type of record to attach the document to. Use businesses with a business ID, or threads with an agent thread ID.
Response
Type of document. Common values include: Initial_Filing, Certificate of Good Standing, Articles of Incorporation, Initial Filing (UCC1), Amendment (UCC3). Null for customer-uploaded documents.