---
metadata:
  - name: generator
    content: Diplodoc Platform v5.71.0
alternate:
  - https://vibe.sourcecraft.dev/portal/docs/en/sec-api-ref/DAST-Scans/v1scansdast-post.md
  - https://vibe.sourcecraft.dev/portal/docs/en/sec-api-ref/DAST-Scans/v1scansdast-post.md
  - https://vibe.sourcecraft.dev/portal/docs/ru/sec-api-ref/DAST-Scans/v1scansdast-post.md
  - href: https://vibe.sourcecraft.dev/portal/docs/en/sec-api-ref/DAST-Scans/v1scansdast-post.md
    type: text/markdown
    title: Markdown version
  - href: https://vibe.sourcecraft.dev/portal/docs/en/llms.txt?revision=r22261781
    rel: describedby
---
> **Documentation Index:** Fetch the complete configuration index at https://vibe.sourcecraft.dev/portal/docs/en/llms.txt?revision=r22261781

<div class="openapi">

# Start a DAST scan by URL

<!-- markdownlint-disable-file -->

Uses the supplied URL or the URL saved in repository security settings. The target is validated in both cases. An explicit URL updates the existing UI settings after a successful start. Returns after SolidPoint accepts the scan; status and results become available through the REST read endpoints. The new scan has type SCAN_TYPE_CLOUD_DAST and origin BUILT_IN.

## Request

<div class="openapi__requests">

<div class="openapi__request__wrapper" style="--method: var(--dc-openapi-methods-post);margin-bottom: 12px">

<div class="openapi__request">

POST {.openapi__method}
```text translate=no
https://appsec.sourcecraft.tech/v1/scans/dast
```

</div>

</div>

</div>

### Query parameters

#|
|| **Name** | **Description** ||
||

_gitRepo_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

Repository identifier. Accepts either internal repository ID (e.g., 88769874964302633) or public UUID (e.g., 0199140f-4343-7c06-a7e3-b835c305b629). These values can be obtained from the getRepo API (fields: id and uuid).

_Pattern:_{.json-schema-reset .json-schema-assertion} `\S`

_Example:_{.json-schema-reset .json-schema-example} `0199140f-4343-7c06-a7e3-b835c305b629`
{.table-cell}
||
|#{.json-schema-properties}

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "url": "https://app.example.com"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_url_{.json-schema-reset .json-schema-property}
{.table-cell}|
**Type**: string

Public HTTPS target on the default port, without credentials, resolving only to Yandex Cloud addresses. Omit or leave blank to use the URL saved in repository security settings.

_Example:_{.json-schema-reset .json-schema-example} `https://app.example.com`
{.table-cell}
||
|#{.json-schema-properties}

</div>

## Responses

<div class="openapi__response__code__202">

## 202 Accepted

SolidPoint accepted the DAST scan

<div class="openapi-entity">

### Body

{% cut "application/json" %}

```json translate=no
{
  "scanUuid": "example"
}
```

{% endcut %}

#|
|| **Name** | **Description** ||
||

_scanUuid_{.json-schema-reset .json-schema-property .json-schema-required}
{.table-cell}|
**Type**: string

UUID of the new DAST scan; use the scan and defect-group endpoints to read its status and results

_Example:_{.json-schema-reset .json-schema-example} `example`
{.table-cell}
||
|#{.json-schema-properties}

</div>

</div>

<div class="openapi__response__code__400">

## 400 Bad Request

Missing gitRepo, malformed JSON or invalid explicit URL

</div>

<div class="openapi__response__code__401">

## 401 Unauthorized

Missing or invalid authorization header

</div>

<div class="openapi__response__code__403">

## 403 Forbidden

Permission denied

</div>

<div class="openapi__response__code__404">

## 404 Not Found

Repository not found

</div>

<div class="openapi__response__code__409">

## 409 Conflict

Configured DAST URL is missing or invalid, or no repository commit can be resolved

</div>

<div class="openapi__response__code__500">

## 500 Internal Server Error

Failed to prepare the DAST scan

</div>

<div class="openapi__response__code__502">

## 502 Bad Gateway

SolidPoint could not start the scan

</div>

<div class="openapi__response__code__503">

## 503 Service Unavailable

SolidPoint integration is disabled

</div>

</div>

[*Deprecated]: No longer supported, please use an alternative and newer version.