I've used the submit file method to create a new scan on Copyleaks API platform. Using this code:
curl -XPUT -H 'Authorization: Bearer XXX' -H "Content-type: application/json" -d '{
"base64": "SGVsbG8gd29ybGQh",
"filename": "file.txt",
"properties": {
"webhooks": {
"status": "https://yoursite.com/webhook/{STATUS}/my-custom-id"
}
}
}' 'https://api.copyleaks.com/v3/businesses/submit/file/my-custom-id'
I got the completion webhook that said the scan was completed successfully.
How to download the artifacts:
- The crawled version of my document
- PDF report
- The results
and store it on my server?