> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Login Or Create

> Sends a one-time passcode via email to the provided address, logging in an existing user or creating a new one. Calls the `POST /sdk/v1/otps/email/login_or_create` endpoint.

## Parameters

**email** `String` *required*

**expirationMinutes** `Int?`

**signupTemplateId** `String?`

**loginTemplateId** `String?`

**locale** `String?`

## Returns

**requestId** `String` *required*

**methodId** `String` *required*

**statusCode** `Int` *required*

```kotlin theme={null}
StytchConsumer.otps.email.loginOrCreate(
    OTPsEmailLoginOrCreateParameters(email = "user@example.com")
)
```
