BOOK A DEMO
LOGIN
Homekeyboard_arrow_rightDocumentationkeyboard_arrow_rightVersion 3keyboard_arrow_rightPlagiarism Checkkeyboard_arrow_rightStart
PATCH

/v3/scans/start

Start scanning all the files you submitted for a price-check.

lock You need to login with a user and api key in order to access this method.
Add this HTTP header to your request:
Authorization: Bearer <Your-Login-Token>
Not sure how to generate your login token? Read here .

Request

Body Parameters

Name
Description
triggerREQUIRED
A list of scans that you submitted for a check-credits scan and that you would like to submit for a full scan.
String array
Example: [ "Your-scan-id-1", "Your-scan-id-2" ]
This array can scan up to 100 submissions.
errorHandling
When set to ignore (ignore = 1) the trigger scans will start running even if some of them are in error mode, when set to cancel (cancel = 0) the request will be cancelled if any error was found.
Integer
Default Value:0

Possible Values:
0 : Cancel
1 : Ignore

Request Example

RAW
cURL
Python
C#
Node.js
PHP
PATCH
https://api.copyleaks.com/v3/scans/start
Headers
Body
trigger:
0: "Your-scan-id-1"
1: "Your-scan-id-2"
errorHandling: 0

Response

Codes

Status Code
Description
Example
200
The command was executed.
{
  "success": [
    "Your-scan-id"
  ],
  "failed": []
}
400
Bad request.
{
  "trigger": [
    "The trigger is required."
  ]
}
401
Unauthorized

Authorization has been denied for this request.

Other resources:

  • Performance Considerations Important! - How to improve your scan performance.
  • Exponential Backoff - Algorithm that helps applications define a retry strategy for consuming a network service.
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.

Copy