Anirudh Krishna
10/25/2025, 6:01 PMOr Weis
10/25/2025, 6:11 PMAsk Inkeep
10/25/2025, 6:11 PMAsk Inkeep
10/25/2025, 6:11 PM{{ redirect_to }} variable for approval links .
Invite Approval Flow
After sending an invite :
1. User receives email with approval link containing an invite_code parameter
2. You approve the invite using the SDK, for example with Python:
await permit.api.users.approve(
user_key="new_user",
email="new-user@example.com",
invite_code="ed32bc43e2194a80a5ef5e0339943b44"
)
The Ruby SDK also includes invite management with InviteCreate and InviteRead types for handling invite status (pending, failed, etc.) (5) .
Check out the Email Configuration and Templates documentation for full setup instructions.Ask Inkeep
10/25/2025, 6:12 PM