POST
/
v1
/
initiate
/
magiclink

This API is accessible exclusively to users subscribed to the OTPless Pro plan. Ensure you have an active OTPless Pro Plan subscription to utilize this feature.

Authorizations

clientId
string
headerrequired
clientSecret
string
headerrequired

Body

application/json
redirectURI
string
required

The URL to which the user will be redirected after successful authentication.

email
string
required

The email address to which the Magic Link will be sent.

channels
enum<string>[]
required

An array specifying the channels through which the Magic Link will be sent. Currently, only the EMAIL channel is supported.

Available options:
EMAIL
expiry
integer

The expiration time for the Magic Link in seconds.

metadata
object

Additional metadata for the request.

Response

200 - application/json
requestId
string

The unique identifier for the Magic Link request.