When your app requests a World ID proof, the user is taken through one of three flows based on two factors: whether they have World App installed, and whether they already hold the credential you’re requesting.Documentation Index
Fetch the complete documentation index at: https://docs.world.org/llms.txt
Use this file to discover all available pages before exploring further.
| Flow | World App installed | Has credential | What happens |
|---|---|---|---|
| Hot | Yes | Yes | World App opens, displays a proof consent, and the user approves. Typically under 10 seconds. |
| Warm | Yes | No | World App opens and walks the user through credential enrollment (e.g., PoH, Face, or NFC). Once issued, a proof consent appears and the user approves. |
| Cold | No | No | The user must install World App first. The experience differs by platform — see below. |
Cold flow
The cold flow requires the most steps and works differently on each platform because of how each platform handles deferred deep linking — the ability to preserve a link’s context through an app store install so the app can act on it at first launch.Android
Android supports deferred deep linking through the Play Store. After the user downloads World App, the original verification context is carried forward at first launch — World App picks up where the user left off and routes them directly into credential enrollment.iOS
iOS does not support deferred deep linking through the App Store. The original verification context is lost during install, so additional mechanisms are needed to resume the flow.Default behavior
- The user downloads World App from the App Store and completes account creation onboarding.
- Your app triggers an IDKit verification request.
- World App opens and takes the user through a hot or warm flow.
- The proof consent appears, the user approves, and the proof is returned to your app.
With invite-code mode
Invite-code mode displays a short 6-character code in your app that the user enters into World App. World App treats the code as an entry point to the in-app onboarding flows the user needs to complete in order to satisfy your IDKit request, then returns the proof.Invite-code mode only applies to iOS as Android preserves deferred deep linking context via the Play Store.
Only the
selfieCheckLegacy preset is supported today.- Your app triggers an IDKit invite-code request.
- Your app opens the URL that IDKit provides. One of three paths follows:
- User has World App (mobile): World App launches directly via deep link.
- User has World App (desktop): The user scans the QR code with World App.
- User needs to install World App: The user installs World App, completes account onboarding, then enters the invite code to resume the request.
- World App restores the verification context, walks the user through credential enrollment if needed, and presents a proof consent.
- The user approves and the proof is returned to your app.
Demo
Flow diagram
Lifecycle
- Codes expire after a short TTL (currently fifteen minutes).
- Codes are one-shot — once redeemed, they cannot be reused. Re-running the request returns a fresh code with a fresh TTL.
- After the user redeems the code, your existing poll loop receives the proof exactly as it does in QR mode.
Integrate
The setup steps that precede the request — creating an app in the Developer Portal and generating an RP signature on your backend — are identical to the standard integration. Only the request call and the rendered UI change.IDKit.request(...) — invite-code mode introduces no new required fields.
Set allow_legacy_proofs: true because selfieCheckLegacy is a v3 (“legacy”) preset; the flag lets World App accept v3 proofs to satisfy the request. When invite-code mode adds support for v4 presets, set it to false for those flows.
Polling and proof verification are unchanged from QR mode: the same Status values are emitted and the same IDKitCompletionResult is returned. Forward the result payload as-is to POST https://developer.world.org/api/v4/verify/{rp_id} — see Verify the proof in your backend.