Is there such a thing as user pending state on Email Based OTP?

Hello there

I noticed on the Dashboard that when using a magic link login i see the user status as “pending”.

My question is about sending a user a one time password via email. Is there such as thing as a pending status?

Thanks

Hey there!

Users can be in a pending state when created via the InviteByEmail endpoint or with endpoints where the create_user_as_pending flag is set to true. Both of the LoginOrCreate methods with email magic links and email OTPs support this param.

Once the User successfully authenticates they’ll be marked as active. More on this here: User States - Stytch API

Please let us know if you have any questions!

Ah I see.

Thanks for pointing us to this information. :+1: