Embeddable Widget Demo
Select a verification level, generate a request with that level, and paste the returned request ID to render the live widget.
1) Choose Verification Level
2) Create Request
Create a verification request with level ping.
bash
curl -X POST https://api.amhuman.org/api/verify/request \
-H "X-API-Key: iah_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"handle": "jaybhalala",
"purpose": "Checkout verification",
"verificationLevel": "ping"
}'
# Response includes:
# { "data": { "requestId": "...", "verificationLevel": "ping" } }3) Render Widget
Paste the requestId from step 2 and load the widget.
SDK status: loading...
Live Widget
Enter a request ID to render the widget.
Widget will render here.
Integration Snippet
html
<script src="https://amhuman.org/verify.js"></script>
<div id="amhuman-widget"></div>
<script>
AmHuman.verify({
requestId: "req_your_request_id",
container: "#amhuman-widget",
onVerified: (result) => console.log("Verified", result),
onDenied: (result) => console.log("Denied", result),
onExpired: (result) => console.log("Expired", result)
});
</script>