Skip to content

Issue a Play Integrity challenge​

POST
/play-integrity/challenge

A random, single-use challenge for the Android app, valid for
expires_in_seconds (300). Fetch one before every donation request
that carries a Play Integrity token, put it in the body as
play_integrity_challenge, and request the token with
requestHash = lowercase hex SHA-256 of that exact body.

Public (guests call it). Rate limited to 30 a minute per address.
Answers 503 with code: PLAY_INTEGRITY_DISABLED while Play
Integrity is not configured on the server.

Responses​

A fresh challenge (Cache-Control: no-store).

application/json
JSON
{
"challenge": "q7uE3fP9yK2sV1xW4zA6bC8dE0fG2hJ4kL6mN8pR0tU",
"expires_in_seconds": 300
}

Playground​

Samples​

Powered by VitePress OpenAPI

Built with VitePress