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.

Python: Resend an OTP

Parameters

Examples

Resend an email signup confirmation

response = supabase.auth.resend(
    {
        "type": "signup",
        "email": "email@example.com",
        "options": {
            "email_redirect_to": "https://example.com/welcome",
        },
    }
)

Resend a phone signup confirmation

response = supabase.auth.resend(
    {
        "type": "sms",
        "phone": "1234567890",
    }
)

Resend email change email

response = supabase.auth.resend(
    {
        "type": "email_change",
        "email": "email@example.com",
    }
)

Resend phone change OTP

response = supabase.auth.resend(
    {
        "type": "phone_change",
        "phone": "1234567890",
    }
)