Skip to content
Webhooks

Credits Checked

Copyleaks supports a price check operation. In some cases, you won’t know the exact length of your document, so using the price check will be helpful to understand how many credits are necessary. Copyleaks allows you to send your document and receive back the amount of credits that the system will require to complete a scan (1 credit = 250 words).

To proceed with scanning the document after checking the credits needed, you should call the Start method.


status integer

The current status of the scan. Possible values: 0 (Success), 1 (Error), 2 (CreditsChecked), 3 (Indexed)

developerPayload string

The developer payload that was provided in the submit method.

<= 512 characters

credits integer

The price of the scan. If you will continue scanning, this is the price you will pay.

scannedDocument object

General information about the scanned document.

scanId string

The unique scan id provided by you.

totalWords integer

Unsigned Integer


Total number of words found in the scanned text.

totalExcluded integer

Unsigned Integer


Number of excluded words in the submitted content.

credits integer

Overall credits used for the scan.

creationTime string<date-time>

The creation time of the scan.


Timezone: UTC+0

metadata object
finalUrl string<uri>

The submitted url after all http redirects.

canonicalUrl string<uri>

Extracted canonical url from the scanned document.

publishDate string<date-time>

Publication date of the scanned document.

creationDate string<date-time>

Creation date of the scanned document.

lastModificationDate string<date-time>

Last modification date of the scanned document.

author string

Scanned document author.

organization string

Scanned document organization.

filename string

Scanned document filename.

{
"status": 2,
"developerPayload": "Custom developer payload",
"credits": 1
}