BOOK A DEMO
LOGIN
Homekeyboard_arrow_rightDocumentationkeyboard_arrow_rightVersion 3keyboard_arrow_rightBusinesseskeyboard_arrow_rightSubmit a URL
PUT

/v3/businesses/submit/url/{scanId}

Scan URLs to see where it has been used before and check its originality. Using submit-url you can scan online content by submitting a URL, for plagiarism and identify infringed content in supported formats.

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.

For integration testing purposes, use sandbox mode - for free.

Request

URL Parameters

Name
Description
scanId REQUIRED
A unique scan id provided by you.

We recommend you use the same id in your database to represent the scan in the Copyleaks database. This will help you to debug incidents.

Using the same ID for the same file will help you to avoid network problems that may lead to multiple scans for the same file.

String
Length: 3-36 characters.

Allowed characters are [a-zA-Z0-9] and the following symobols: [email protected]$^&-+%=_(){}<>';:/.",~`|

Body Parameters

Name
Description
url REQUIRED
The url to be scanned
String (uri)
Example: http://example.com
properties.webhooks.status REQUIRED
This webhook event is triggered once the scan status changes.

Use the special token {STATUS} to track the current scan status. This special token will automatically be replaced by the Copyleaks servers with the optional values: completed, error, creditsChecked and indexed.

Read more about webhooks.

String (uri)
Example: https://yoursite.com/webhook/{STATUS}

Request Example

RAW
cURL
Python
C#
Node.js
PHP
PUT
https://api.copyleaks.com/v3/businesses/submit/url/my-custom-id
Headers
Body
url: "http://example.com"
properties:
webhooks:
status: "https://yoursite.com/webhook/{STATUS}/my-custom-id"

Response

Codes

Status Code
Description
Example
201
The scan was Created.
400
Bad request.
{
  "properties.webhooks.status": [
    "The field is required."
  ]
}
401
Unauthorized

Authorization has been denied for this request.

409
A scan with the same Id already exists in the system.
429
Too many requests have been sent. The request has been rejected.

This may happen when sending too many scans in Sandbox mode.

Other resources:

  • Performance ConsiderationsImportant! - How to improve your scan performance.
  • Exponential Backoff - Algorithm that helps applications define a retry strategy for consuming a network service.
  • Technical Specifications - See API's limits and supported formats.
  • Table of contents
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

Education
Businesses
Pricing
Copyleaks.com

RESOURCES

Documentation
Plagiarism Report
Help Center
System Status
Security

ABOUT

About us
Careers
Terms of Use
Privacy Policy
Sitemap

Copyleaks Technologies, LTD.

700 Canal St.
Stamford, CT 06902 USA

[email protected]

Copyleaks Technologies LTD. All rights reserved. Use of this website signifies your agreement to the Terms of Use.