BOOK A DEMO
LOGIN
Homekeyboard_arrow_rightDocumentationkeyboard_arrow_rightVersion 3keyboard_arrow_rightActivitieskeyboard_arrow_rightSubmit Batch

Submit Batch

The following activity allows the user to submit multiple files for a scan in one call. In most cases, you will use this option in order to compare the files to one another (in addition to external sources).

See the flow diagram below:

batch-scan.svg



Analyzing Steps

The first task is to get the Copyleaks authentication token. You will need to add this token later on to your API requests in order to verify your identity. This task is being done through the Login method. Once you have this token, you are ready to continue forward to the next step.

Now, a key-point that differentiates this flow from others, in order to compare the files also against each other, you should submit the files with properties.action: 1 (price-check). You should repeat this process for each one of the files in the same batch. Note that when you are submitting the files with properties.action: 1 , the files will be price-checked first. So, you will get a Credit-Checked webhook sent to your server. Wait until all of the scans will complete the price-check status. At this point, you will be ready to start scanning all the files in the batch.

Trigger the scan of the batch done by calling the batch/start method. From this point, you should treat each process exactly like you would if it were a single file scan.

stack-overflow_icon.png

Do you have a technical question?

Use stackoverflow.com to get help from our development team and other Copyleaks users.

Ask a Question

PRODUCTS

Scans
Pricing
Copyleaks.com

RESOURCES

Documentation
Plagiarism Report
Help Center
System Status
Security

ABOUT

About us
Careers
Terms of Use
Privacy Policy
Sitemap

Copyleaks, Inc.

700 Canal St.
Stamford, CT 06902 USA

[email protected]

Copyleaks, Inc. All rights reserved. Use of this website signifies your agreement to the Terms of Use.