EmailMagicLinks

interface EmailMagicLinks

Provides all possible ways to call EmailMagicLinks endpoints

Types

Link copied to clipboard
data class DiscoverySendParameters(val emailAddress: String, val discoveryRedirectUrl: String? = null, val loginTemplateId: String? = null)

A data class used for wrapping paramaters used for sending a discovery magic link

Link copied to clipboard
data class InviteParameters(val emailAddress: String, val inviteRedirectUrl: String? = null, val inviteTemplateId: String? = null, val name: String? = null, val untrustedMetadata: Map<String, Any?>? = null, val locale: String? = null, val roles: List<String>? = null)

A data class used for wrapping paramaters used for sending an invite magic link

Link copied to clipboard
data class Parameters(val email: String, val organizationId: String, val loginRedirectUrl: String? = null, val signupRedirectUrl: String? = null, val loginTemplateId: String? = null, val signupTemplateId: String? = null)

Data class used for wrapping parameters used with requesting an email magic link

Functions

Link copied to clipboard

Send a discovery magic link to an email address

Link copied to clipboard

Send an invite email to a new Member to join an Organization. The Member will be created with an invited status until they successfully authenticate. Sending invites to pending Members will update their status to invited. Sending invites to already active Members will return an error.

Link copied to clipboard

Send either a login or signup magic link to a Member. A new or pending Member will receive a signup Email Magic Link. An active Member will receive a login Email Magic Link.