Skip to main content
These docs are for our new Kotlin Multiplatform SDK, which is in Public beta. If you are instead looking for the stable version, please see stytch-android and the usage docs here.
The Stytch SDKs provide methods that communicate directly with the Stytch API, allowing you to easily authenticate your users without adding extra endpoints to your backend. The Stytch Android Consumer SDK is a headless Kotlin Multiplatform library that targets Android. It provides a type-safe, coroutine-based API for all Stytch consumer authentication methods.

Maven package

com.stytch.sdk:consumer-headless

Android bindings for the Stytch Consumer SDK

Authentication methods

The StytchConsumer client exposes the following namespaces:
NamespaceDescription
otpOne-time passcodes via SMS, email, or WhatsApp
magicLinksEmail magic link authentication
passwordsPassword-based authentication
oauthOAuth flows (Google, Apple, and others)
passkeysWebAuthn / passkey authentication
biometricsBiometric authentication
totpTime-based one-time passcode (authenticator app)
cryptoCrypto wallet authentication
sessionSession management
userUser account management
dfpDevice fingerprinting

Compatibility and requirements

  • Minimum Android SDK: 24 (Android 7.0)
  • Language: Kotlin 2.3+ (coroutines-based API)
  • Build system: Gradle