---
title: "Get List of Application Scans"
method: GET
path: "/api/cmp/v1/applications/{id}/scans"
tags: ["Applications"]
---

# Get List of Application Scans

`GET /api/cmp/v1/applications/{id}/scans`

## Request

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

Use this API to retrieve a paginated list of scans associated with a specific application. The response includes each scan's ID, status, and summary data for detected SDKs and permissions.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `sortBy` 'status' | 'scanDate' | 'engineVersion'
- `direction` 'asc' | 'desc'
- `page` integer
- `pageSize` integer

## Response `200`

OK

- PageApplicationScanDetailDto
  - `totalPages` integer
  - `totalElements` integer
  - `size` integer
  - `content` ApplicationScanDetailDto[]
    - `scanId` string, uuid: Unique identifier for this scan
    - `status` 'PENDING' | 'PROGRESS' | 'COMPLETED' | 'FAILED' | 'INTERRUPTED' | 'UNSCANNED': Status of this scan
    - `sdkCount` integer: Total number of SDKs found
    - `sdkCategories` object: SDK counts grouped by category
    - `permissionCount` integer: Total number of permissions found
    - `permissionCountHighRisk` integer: Number of high-risk permissions
    - `permissionCategories` object: Permission counts grouped by category
    - `scanDate` string, date-time: Date and time of the scan
    - `version` string: Detected version of the given application
    - `engineVersion` string: OneTrust mobile scan engine version used for this scan
  - `number` integer
  - `sort` SortObject
    - `empty` boolean: This flag indicates whether the result set is empty.
    - `sorted` boolean: This flag indicates whether the results are sorted.
    - `unsorted` boolean: This flag indicates whether the results are in unsorted order.
  - `pageable` PageableObject
    - `offset` integer: The starting position for paginated results.
    - `sort` SortObject
      - `empty` boolean: This flag indicates whether the result set is empty.
      - `sorted` boolean: This flag indicates whether the results are sorted.
      - `unsorted` boolean: This flag indicates whether the results are in unsorted order.
    - `paged` boolean: This flag indicates whether pagination is enabled.
    - `pageSize` integer: The number of items displayed per page.
    - `pageNumber` integer: The current page number in the pagination sequence.
    - `unpaged` boolean: This flag indicates whether pagination is disabled.
  - `first` boolean
  - `last` boolean
  - `numberOfElements` integer
  - `empty` boolean

## 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)
