---
title: "POST /v1/{+app}:generatePlayIntegrityChallenge"
method: POST
path: "/v1/{+app}:generatePlayIntegrityChallenge"
tags: ["projects"]
---

# POST /v1/{+app}:generatePlayIntegrityChallenge

`POST /v1/{+app}:generatePlayIntegrityChallenge`

Generates a challenge that protects the integrity of an immediately following integrity verdict request to the Play Integrity API. The next call to ExchangePlayIntegrityToken using the resulting integrity token will verify the presence and validity of the challenge. A challenge should not be reused for multiple calls.

## Path parameters

- `app` string, required

## Request body

- GoogleFirebaseAppcheckV1GeneratePlayIntegrityChallengeRequest — Request message for the GeneratePlayIntegrityChallenge method.

## Response `200`

Successful response

---

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