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

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

Required.

Response Formats

text/plain

Sample:
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.