Lists all scans for a given user. Scans initiated through the dashboard will also appear here.
Request
API Key List Scans
GEThttps://api.vscanner.ai/v1/api/list_scans
Response
Request - JavaScript
const response = await fetch('https://api.vscanner.ai/v1/api/list_scans', {
method: 'GET',
headers: {},
});
const data = await response.json();
Example cURL request
import requests
api_key = <API_KEY>
url = "https://api.vscanner.ai/v1/api/list_scans"
payload={}
headers = {
'Authorization': f"Bearer {api_key}",
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.json())
Example Python request
curl --location 'https://api.vscanner.ai/v1/api/list_scans' \
--header 'Authorization: Bearer <API_KEY>'
*Filling in the API_KEY value is mandatory.
Return
The request response, in JSON format, contains a list of objects with identifier and the date when the scan started.
Successful response
Comments
0 comments
Please sign in to leave a comment.