Skip to main content

Create a Dynamic Analysis of a single URL with prescan verification using the REST API

You can use the Dynamic Analysis API to create an analysis with prescan verification.

Before you begin:

To be able to run a prescan verification before the Dynamic Analysis, you must allow two hours for the prescan to complete before you schedule the analysis to begin.

To complete this task:

  1. Enter values for the scan_config_request and schedule properties in the JSON file.

  2. Send the following request:

    http --auth-type=veracode_hmac POST "" < input.json

    The run_verification=true query property specifies that the prescan run after the request creates the analysis.


    If your prescan verification fails, the Dynamic Analysis also fails.

    This is an example of a Dynamic Analysis for a single URL with prescan:

    "name": "Name-of-Your-Dynamic-Analysis",
    "scans": [
    "scan_config_request": {
    "target_url": {
    "url": ""
    "schedule": {
    "start_date": "2020-02-27T02:00+00:00",
    "duration": {
    "length": 3,
    "unit": "DAY"

    You can call GET /analyses to see the status of your analyses.