---
title: "Scan Application"
method: PUT
path: "/api/cmp/v1/application/{id}/scan"
tags: ["Applications"]
---

# Scan Application

`PUT /api/cmp/v1/application/{id}/scan`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/cmp/v1/application/{id}/scan`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `COOKIE`

Use this API to initiate an application scan with a file upload.

## Path parameters

- `id` string, uuid, required

## Request body `multipart/form-data`

- object
  - `file` string, required: File to upload as part of the scan request. Maximum size: 500 MB.

## Response `201`

Created

- ApplicationScanResponsePublicDto
  - `scanId` string, uuid: Identifier of the created Application Scan

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/consent-preferences-cookie-consent.md) - [All operations](https://skmtc.dev/onetrust/apis/consent-preferences-cookie-consent/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/consent-preferences-cookie-consent/revisions/b4fb4606f973?raw)
