Start Upload Session

POST {{uploadUrl}}/file-storage/upload-sessions?raw=false

Start an Upload Session. Upload sessions are used to upload large files, use the Upload File endpoint to upload smaller files (up to 100MB). Note that the base URL is upload.apideck.com instead of unify.apideck.com. For more information on uploads, refer to the file upload guide.

Request Params

KeyDatatypeRequiredDescription
rawbooleanInclude raw response. Mostly used for debugging purposes

Request Body

{"name"=>"Documents", "parent_folder_id"=>"root", "size"=>1810673, "drive_id"=>"1234", "pass_through"=>[{"service_id"=>"aliqua sed exercitation", "operation_id"=>"proident mollit occaecat Excepteur", "extend_object"=>{"adipisicing_9"=>"eu Excepteur officia", "nostrud_e"=>-34790808}, "extend_paths"=>[{"path"=>"$.nested.property", "value"=>{"TaxClassificationRef"=>{"value"=>"EUC-99990201-V1-00020000"}}}, {"path"=>"$.nested.property", "value"=>{"TaxClassificationRef"=>{"value"=>"EUC-99990201-V1-00020000"}}}]}, {"service_id"=>"id tempor veniam eu qui", "operation_id"=>"Excepteur enim", "extend_object"=>{"tempora19"=>55058173.188246906}, "extend_paths"=>[{"path"=>"$.nested.property", "value"=>{"TaxClassificationRef"=>{"value"=>"EUC-99990201-V1-00020000"}}}, {"path"=>"$.nested.property", "value"=>{"TaxClassificationRef"=>{"value"=>"EUC-99990201-V1-00020000"}}}]}]}

HEADERS

KeyDatatypeRequiredDescription
x-apideck-consumer-idstring(Required) ID of the consumer which you want to get or push data from
x-apideck-app-idstring(Required) The ID of your Unify application
x-apideck-service-idstringProvide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.
Content-Typestring
Acceptstring