Try It Live

Human Authorization Demo

See how an AI agent requests cryptographic human approval. Verify with World ID via passport, government ID, or iris scan.

1

Agent Requests Authorization

Simulates an AI agent requesting human approval for a high-stakes action

Or via curl

curl -X POST https://api.treeship.dev/v1/demo/authorize
2

Human Opens Approval Page

The agent sends the approval URL to a human (via Slack, email, SMS, etc.)

3

Scan World ID to Approve

The human verifies their identity with World ID — cryptographic proof of personhood

On the approval page, click "Approve with World ID" and verify with the World App. Supports passport, government ID, or iris scan verification. The ZK proof is embedded in the attestation — anyone can verify a real human approved.

4

Agent Creates Verified Attestation

The agent polls for approval, gets the World ID proof, and embeds it in the attestation

When the human approves, the poll response includes human_authorization — pass it directly to POST /v1/attest to create a cryptographically verified attestation.