Using the API
Walkthrough for using the Bucketscan API with your application
Last updated
curl -XPOST https://bucketscan.com/api/v1/scans/initiate \
-H "x-api-key: {insert-your-api-key-here}" \
-F "file=@relative/path/to/file.txt"{"status":200,"message":"Successfully uploaded file.txt!","scanId":"SCAN_ID"}curl https://bucketscan.com/api/v1/scans/{scanId} \
-H "x-api-key: {insert-your-api-key-here}"{"status":200,"message":"OK","scanId":"SCAN_ID","scanResult":"pending"}