Uploads a document file. Supports optional conversion to image and marking as company logo or organization-specific. Returns 200 with the result on success, or 400 if the upload is not valid.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/document/upload
curl \
--request POST 'https://wyzio.app/api-v1/document/upload' \
--header "Content-Type: multipart/form-data" \
--form "file=@file" \
--form "convertToImage=true" \
--form "isCompanyLogo=true"
Response examples (200)
{}