For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Resends an existing signup confirmation email, email change email, SMS OTP or phone change OTP.
const { error } = await supabase.auth.resend({
type: 'signup',
email: '[email protected]',
options: {
emailRedirectTo: 'https://example.com/welcome'
}
})
const { error } = await supabase.auth.resend({
type: 'sms',
phone: '1234567890'
})
const { error } = await supabase.auth.resend({
type: 'email_change',
email: '[email protected]'
})
const { error } = await supabase.auth.resend({
type: 'phone_change',
phone: '1234567890'
})