---
title: "Launch Profile Scan"
method: POST
path: "/api/v1/app/{appId}/perch/profile-scan"
tags: ["Perch"]
---

# Launch Profile Scan

`POST /api/v1/app/{appId}/perch/profile-scan`

Triggers a profile scan for an application with automatic OpenAPI spec discovery

> 🧾 Audited
> This is recorded as `SCAN_STARTED` [User Activity](https://apidocs.stackhawk.com/reference/listauditactivity#user-activity-types).


> Requires `write:device` permission.

## Path parameters

- `appId` string, uuid, required

## Response `200`

OK

- UserProvisionPerchResponse
  - `scanKey` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/stackhawk/apis/stackhawk-public-api.md) · [All operations](https://skmtc.net/stackhawk/apis/stackhawk-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stackhawk/stackhawk-public-api/versions/ad3dfd54cb63/schema)
