Skip to main content
By the end you’ll open a session, show a QR / tap-link, and receive a verified, signed result.
Base URL: https://api.anonage.io (production, coming soon) or https://dev1api.anonage.io (development). Examples below use the production URL.

1. Get an API key

In the ConsoleAPI Keys, create a key. You’ll see two secrets once:
  • API key (anonage_sk_…) — sent as X-API-Key from your server.
  • Signing secret (whsec_…) — used to verify callbacks.
Store both. See Authentication for details.

2. Open a session (server-side)

Never put your API key in the browser. Create the session from your backend:
Encode the opaque reference. On mobile, a tap-link opens the AnonAge app; on desktop, render a QR the user scans.
Browser

4. Receive the signed result

AnonAge POSTs your callback_url when the user approves. Verify the signature, then act:
Node (Express)
Read the raw request body for signature verification — re-serialising the JSON changes the bytes and breaks the HMAC. Full recipes (PHP, Python, Ruby) are in Callbacks.

5. Poll as a fallback

If a callback is missed, poll the session:
That’s the whole loop. Next: harden your callback handling and try it end-to-end in test mode.