---
title: Invitation stage
slug: invitation-stage
description: Learn about the user invitation and enrollment process, including the option to utilize preconfigured values and bypass the need for an invitation token. This document covers code for verifying invitation usage within a policy, as well as the URL to acces
docTags: 
createdAt: 2023-07-19T12:45:55.996Z
---

This stage enables user invitation and enrollment with preconfigured values. It can be utilized even when an invitation token is not present, if the option "Continue Flow without Invitation" is enabled.

To verify if a user has used an invitation within a policy, the code "request.context.get("invitation\_in\_effect", False)" can be used.

To use an invitation, the URL "[https://authentik.tld/if/flow/your-enrollment-flow/?itoken=invitation-token](https://authentik.tld/if/flow/your-enrollment-flow/?itoken=invitation-token)" can be accessed.

To prompt the user for an invite, the Prompt stage can be used along with a field key of "token".
