GET v1/downloads/source-text?pid={PID}


Copyleaks V1 API has been deprectaed and will reach it's end of life on July 1st 2020.

See newer version documentation - Copyleaks V3 API.

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.

Get the text that you submittet for a scan. You will be able to get back the text only once the process has finished running.

Request Information

URI Parameters

Name Description Type Additional information
Process Id

The id of the process that you would like to to receive its source text

globally unique identifier


Response Formats


This is your source text.

Common Errors

Error Code Error Message
1 Bad request. One or several required parameters are missing or incorrect.
27 Unknown process id!
26 The request cannot be completed because the process is still running.

For more information, see the full errors list.