Palbase Auth API · API
/admin/attest/devices/assertVerify a request's App Attest assertion
The customer runtime's check of one request's App Attest evidence. Every outcome, including no evidence, a bad signature, a stale counter or an unknown device, is a 200 verdict carrying the next challenge for the client; only an unparseable body is a 400. On success the device's signature counter advances.
Called by your server, with the project's secret key.
Request body
body_sha256string (byte) · optionalSHA-256 of the request body, base64; empty for a request without a body.challengestring · optionalThe signed challenge the client sends back.device_idstring · optionalinstallation_idstring · optionalThe anchor the challenge was minted for (`ins_…`).methodstring · optionalpathstring · optionalThe request path including its query string.payloadstring (byte) · optionaliOS: authenticatorData (37 bytes) followed by clientDataHash (32 bytes). Android: 0x01, the device's counter (8 bytes, big-endian) and clientDataHash (32 bytes). Base64.signaturestring (byte) · optionalDER-encoded ECDSA signature, base64: App Attest's on iOS; on Android, ECDSA-SHA256 over the payload by the enrolled key.curl -X POST "https://<your-ref>.palbase.studio/admin/attest/devices/assert" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"body_sha256":"string","challenge":"string","device_id":"string","installation_id":"string","method":"string","path":"string","payload":"string","signature":"string"}'Responses
200The verdict
400Validation failed or required field missing
401Missing, invalid, or expired credentials
403Authenticated but not permitted (banned, hook denial, role mismatch)
503Downstream dependency unavailable (typically HIBP / breach service)
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation AdminVerifyDeviceAssertion of auth's contract.