Send a magic link
Emails a sign-in link to the end user. Portal sends the email from a verified sending domain using one of your email templates.
Three of the fields must already be configured in the dashboard:
redirectUrlmust exactly match one of the environment’s Redirect URLs.fromEmailmust belong to a verified sending domain that is enabled for this environment.templateIdis the Portal template ID from Authentication > Templates.
isAccountAbstracted is optional and decides whether the client Portal
creates for this user uses Account Abstraction.
Authorizations
The Auth Environment ID for the environment you are authenticating against. Find it in the Portal dashboard under Authentication > Configure.
Body
The end user's email address. Must be lowercase. Addresses
containing uppercase characters are rejected with 400.
Where the magic link sends the user. Must exactly match one of the environment's Redirect URLs. Matching is exact string equality, so wildcards and path prefixes are not supported.
The address the email is sent from. Must belong to a verified sending domain that is enabled for this environment.
The Portal template ID from Authentication > Templates in the dashboard.
Whether the client created for this end user uses ERC-4337 Account
Abstraction. Omit it to inherit your organization's default. Sending
true requires Account Abstraction to be enabled for your
organization and configured for this environment, and is rejected
with 400 otherwise.
The flag only applies when the client is created, on the user's first sign-in. A returning user keeps the client they already have.