---
title: "Import OSS Scan"
method: POST
path: "/v1/scans/import"
tags: ["scans"]
---

# Import OSS Scan

`POST /v1/scans/import`

Import scan details

## Query parameters

- `name` string

## Headers

- `X-Team-Id` string

## Response `200`

- object — Scan is a single scan object
  - `id` string, required
  - `message` string, required

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2024-09-22** `407b73d9ce28` — 2 info
  - added the new optional `header` request parameter `X-Team-Id`
  - added the new optional `query` request parameter `name`
- **2024-04-19** `ba8a20839440` — 3 breaking, 18 info
  - removed the required property `id` from the response with the `400` status
  - removed the required property `id` from the response with the `401` status
  - removed the required property `id` from the response with the `500` status
  - added the optional property `code` to the response with the `400` status
  - …17 more
- **2023-12-06** `35be9c1301b7` — 1 info
  - api tag `scans` added
- **2023-12-05** `5c3748c387f7` — 20 warning, 4 info
  - deleted the `header` request parameter `X-Team-Id`
  - deleted the `query` request parameter `name`
  - removed the optional property `code` from the response with the `400` status
  - removed the optional property `code` from the response with the `401` status
  - …20 more

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/scans/import/post.md)

---

[API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [All operations](https://skmtc.dev/projectdiscovery/apis/pdcp-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/projectdiscovery/pdcp-api/revisions/220f0adf9efd/schema)
