v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
Documents

Upload Document

Endpoint to upload a Document.The first step is to get a temporary URL where to upload the file.

post/business/v2/documents/upload

Response

The returned resource is a single UploadUrlDocument.

uploaded_bystring

The User or system that uploaded the file of the Document

operation_type'UPLOAD_URL' | 'UPLOAD_COMPLETED'
content_typestring

The MIME type of the Document.

attachment_namestring

Attachment name of the Document

pre_signed_urlstring

Pre-signed URL of the Document

Example response

{
  "uploaded_by": "USER",
  "content_type": "application/pdf",
  "attachment_name": "1779089463912.pdf",
  "pre_signed_url": "https://example.com/upload-url"
}