> ## 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 WhatsApp to the provided phone number, logging in an existing user or creating a new one. Calls the `POST /sdk/v1/otps/whatsapp/login_or_create` endpoint.

## Parameters

**phoneNumber** `String` *required*

**expirationMinutes** `Int?`

**locale** `String?`

## Returns

**requestId** `String` *required*

**methodId** `String` *required*

**statusCode** `Int` *required*

```js theme={null}
StytchConsumer.otps.whatsapp.loginOrCreate({ phoneNumber: "+15005550006" })
```
