---
title: "POST call to scan file for virus only"
method: POST
path: "/v1/scan"
tags: ["scan virus only"]
---

# POST call to scan file for virus only

`POST /v1/scan`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/v1/scan`
- Auth: none declared

this endpoint is called to scan file for virus

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: file to be uploaded

## Response `200`

no virus detected

## Other responses

- `400`: BAD REQUEST - badly formed JSON or duplicate entry
- `406`: NOT ACCEPTABLE - virus detected in the file
- `500`: INTERNAL SERVER ERROR - an unknown internal error occurred

---

[API](https://skmtc.dev/department-for-work-and-pensions/apis/dwp-file-upload-service-pip.md) - [All operations](https://skmtc.dev/department-for-work-and-pensions/apis/dwp-file-upload-service-pip/llms.txt) - [OpenAPI document](https://skmtc.dev/department-for-work-and-pensions/apis/dwp-file-upload-service-pip/revisions/01eb8e8bf8c1?raw)
