Palbase ai · API
POST
/ai/client/attest-challengeMint a single-use device attestation challenge
Mint a single-use device attestation challenge.
Called by your app, with the publishable key; or a signed-in user of your app, with their token and the publishable key; or your server, with the project's secret key.
Request body
installation_idstring · optionalClient installation identifier when no user session is present.curl
curl -X POST "https://<your-ref>.palbase.studio/ai/client/attest-challenge" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"installation_id":"string"}'Responses
200Attestation challenge
400HTTP 400 error
401HTTP 401 error
503HTTP 503 error
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation ClientAttestChallenge of ai's contract.