/
Contact usSee pricingStart building
Node
​

    About Stytch

    Introduction
    Integration Approaches
      Full-stack overview
      Frontend (pre-built UI)
      Frontend (headless)
      Backend
    Migrations
      Migration overview
      Migrating users statically
      Migrating users dynamically
      Additional migration considerations
      Zero-downtime deployment
      Defining external IDs for users
      Exporting from Stytch
    Custom Domains
      Overview

    Authentication

    DFP Protected Auth
      Overview
      Setting up DFP Protected Auth
      Handling challenges
    Magic Links
    • Email Magic Links

      • Getting started with the API
        Getting started with the SDK
        Replacing your password reset flow
        Building an invite user flow
        Add magic links to an existing auth flow
        Adding PKCE to a Magic Link flow
        Magic Link redirect routing
    • Embeddable Magic Links

      • Getting started with the API
    MFA
      Overview
      Backend integration
      Frontend integration
    Mobile Biometrics
      Overview
    M2M Authentication
      Authenticate an M2M Client
      Rotate client secrets
      Import M2M Clients from Auth0
    OAuth
    • Identity providers

      • Overview
        Provider setup
      Getting started with the API (Google)
      Add Google One Tap via the SDK
      Email address behavior
      Adding PKCE to an OAuth flow
    Connected AppsBeta
      Setting up Connected Apps
      About Remote MCP Servers
    • Resources

      • Integrate with AI agents
        Integrate with MCP servers
        Integrate with CLI Apps
    Passcodes
      Getting started with the API
      Getting started with the SDK
    • Toll fraud

      • What is SMS toll fraud?
        How you can prevent toll fraud
      Unsupported countries
    Passkeys & WebAuthn
    • Passkeys

      • Passkeys overview
        Set up Passkeys with the frontend SDK
    • WebAuthn

      • Getting started with the API
        Getting started with the SDK
    Passwords
      Getting started with the API
      Getting started with the SDK
      Password strength policy
    • Email verification

      • Overview
        Email verification before password creation
        Email verification after password creation
    Sessions
      How to use sessions
      Backend integrations
      Frontend integrations
      Custom claims
      Custom claim templates
      Session tokens vs JWTs
      How to use Stytch JWTs
    TOTP
      Getting started with the API
      Getting started with the SDK
    Web3
      Getting started with the API
      Getting started with the SDK

    Authorization

    Implement RBAC with metadata

    3rd Party Integrations

    Planetscale
    Supabase
    Feathery
    Unit

    Testing

    E2E testing
    Sandbox values
Get support on SlackVisit our developer forum

Contact us

Consumer Authentication

/

Guides

/

Authentication

/

Passcodes

/

Unsupported countries

Unsupported countries

Stytch does not support sending SMS passcodes to the following countries:
  • Algeria
  • Afghanistan
  • Albania
  • Andorra
  • Angola
  • Armenia
  • Aruba
  • Azerbaijan
  • Bahamas
  • Bahrain
  • Bangladesh
  • Barbados
  • Belarus
  • Belize
  • Bermuda
  • Bhutan
  • Bosnia and Herzegovina
  • Botswana
  • British Virgin Islands
  • Burma (Myanmar)
  • Burundi
  • Cambodia
  • Cape Verde
  • Cayman Islands
  • Chad
  • China – including Hong Kong
  • Comoros
  • Congo, Dem Rep
  • Cote D’Ivoire (Ivory Coast)
  • Cuba
  • Curaçao and Caribbean Netherlands (Bonaire, Sint Eustatius, Sint Maarten, Saba)
  • Cyprus
  • Democratic Republic of Congo
  • Djibouti
  • Dominica
  • East Timor
  • Egypt
  • Equatorial Guinea
  • Ethiopia
  • Eritrea
  • Estonia
  • Faroe Islands
  • Fiji
  • French Polynesia
  • Gabon
  • Gambia
  • Georgia
  • Gibraltar
  • Greenland
  • Guadeloupe
  • Guam
  • Guinea
  • Haiti
  • Honduras
  • Indonesia
  • Israel
  • Iran
  • Iraq
  • Ivory Coast
  • Jersey
  • Jordan
  • Kazakhstan
  • Korea Dem People's Rep
  • Kosovo
  • Kuwait
  • Kyrgyzstan
  • Laos PDR
  • Lebanon
  • Lesotho
  • Liberia
  • Libya
  • Macau
  • Macedonia
  • Madagascar
  • Malawi
  • Malaysia
  • Maldives
  • Mali
  • Martinque
  • Micronesia
  • Moldova
  • Mongolia
  • Montserrat
  • Morocco
  • Mozambique
  • Namibia
  • Niue
  • Nepal
  • New Caledonia
  • Niger
  • Nigeria
  • North Korea
  • Northen Mariana Islands
  • Oman
  • Pakistan
  • Palestine
  • Papua New Guinea
  • Philippines
  • Qatar
  • Republic of North Macedonia
  • Reunion/Mayotte
  • Russia
  • Rwanda
  • Samoa
  • Saudi Arabia
  • Senegal
  • Serbia
  • Sierra Leone
  • Singapore
  • Solomon Islands
  • Somalia
  • Sri Lanka
  • St Vincent Grenadines
  • Sudan
  • Syria
  • Tajikistan
  • Thailand
  • Togo
  • Tonga
  • Tunisia
  • Tuvalu
  • Turkmenistan
  • Turks and Caicos Islands
  • U.S. Virgin Islands
  • United Arab Emirates
  • Uganda
  • Uzbekistan
  • Vanuatu
  • Venezuela
  • Vietnam
  • Wallis and Futuna
  • Yemen
  • Zambia
  • Zimbabwe

If you attempt to send an SMS to a phone number from a country listed above, the API will return an invalid_phone_number_country_code error. We do support international SMS to supported countries (not listed above), though international SMS is disabled by default for customers who did not use SMS prior to October 2023. Please reach out to support@stytch.com if you'd like to be enabled for international SMS to supported countries.