Upload a file for a company provided document.

Changed on

Upload a file to the upload_url of the associated company provided document.

put/company_provided_documents/{document}/upload

Request

Path parameters

documentstring required

ID of the company provided document to associate the uploaded file with.

Headers

Content-Type'application/pdf' | 'image/jpeg' | 'image/png'

Request body

RAW_BODYstring binary

The file to be uploaded

Response

200

idstring
companystring
document_typestring
upload_urlstring
upload_statusstring
file_content_typestring
provided_filenamestring

Example response

{
  "id": "doc_1fyTzNTwEg1gWwKOqYK9",
  "company": "com_kGYEICK22GEzj8trreH3",
  "document_type": "940",
  "upload_url": "https://sandbox.checkhq.com/company_provided_documents/doc_1fyTzNTwEg1gWwKOqYK9/upload",
  "upload_status": "uploaded",
  "file_content_type": "application/pdf",
  "provided_filename": "sample_document.pdf"
}

Changes