POST
/api/v1/attestation/challenge Public keyIssues a random challenge bound to your organization and SDK key. The Android SDK requests one before collecting, has the device's hardware keystore attest to it, and includes the attestation in its identify request. The server checks it and consumes the challenge, so an attestation cannot be replayed.
The request has no body.
Response
challengestring32 random bytes, base64-encoded.expires_atstringWhen the challenge stops being accepted: five minutes after it was issued.
Each challenge can be used once. Challenges are free.
Errors
| Status | Code | When |
|---|---|---|
401 | unauthorized | The key did not authenticate. |
503 | service_unavailable | A challenge could not be issued just now. |