Create a new file collection and add a file supplied in the request body to it

Include the binary contents of the document's file in the request body. The file must be in PDF or TIFF format. Files not in this format will be accepted, but will cause processing of the task created from the file collection to fail.

The ID of the new file collection is returned in the id property of the response. This can be used to create a new task using a Create Task request.

Optionally, the original file name of the file can be specified by setting the X-Aluma-Tags request header to file_name=<original file name>, e.g. file_name=00001.pdf. When a task is created from the file collection, the task will be given this name unless the task is explicitly named.

Language