Send an email invite link
Sends an invite link to an email address.
- Sends an invite link to the user's email address.
Parameters
- emailREQUIREDstring
The email address of the user.
- optionsOptionalobjectdataOptionalobject
Optional user metadata
redirectToOptionalstringA URL or mobile deeplink to send the user to after they are confirmed.
const { data, error } = await supabase.auth.admin.inviteUserByEmail('email@example.com')