> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/verify/indonesia-verification/integration/web-integration-web-kyc-2.0/end-to-end-id-verification-flow.md).

# End to End - ID Verification Flow

<figure><img src="/files/PhlB0jBNDf5UEjo3JJZC" alt=""><figcaption></figcaption></figure>

Webhook notifications offer partners the flexibility to handle user interactions and improve the user experience during the identity verification process. For instance, if a partner wants to show an error screen after two failed attempts and allow the user to retry after some time, webhooks can facilitate this flow.

With webhook notifications, partners receive real-time updates on the verification process, including the status of different checks. Partners can leverage this information to make informed decisions on how to guide users during the verification journey.

Here are some scenarios where webhooks can be used to manage the flow:

1. **Exhausted Demographic Check Retries**: When a user has exceeded the allowed number of demographic check retries, the partner can use webhooks to detect this status and inform the user appropriately. For example, the partner might redirect the user to a message indicating that further retries are not allowed and provide instructions on what to do next.
2. **Exhausted Face Recognition (FR) Check Retries**: If a user has reached the maximum number of face recognition check retries, the webhook notification can trigger actions like displaying an error message and preventing additional verification attempts from the same URL.
3. **Captured Selfie Score Below Matching Threshold**: If the user's captured selfie score falls below the matching threshold, indicating a failed verification attempt, webhooks can notify the partner. The partner can then handle this situation by showing a message to the user, suggesting that the selfie did not meet the required criteria, and offering guidance on how to proceed.
