Skip to main content
POST
Sign in with a magic link or code

Body

application/json
token
string

Single-use token from the link

code
string

6-digit code from the invitation email

email
string

Email address of the client user

account
string

Account name; required with code

Response

Success

Tokens and the signed-in user and account.

refresh_token
string

Refresh token

auth_token
string

Authentication token (JWT)

passkey_enabled
boolean
totp_enabled
boolean
first_sign_in
boolean

True on the first sign-in after an invitation; the app routes it to MFA setup

account
object
user
string<email>

User email

user_id
string
first_name
string
last_name
string
role
string

Role on the signed-in account

mfa
object
theme
string
sound
boolean
advanced_mode
boolean
voice_transcription
boolean
onboarding_progress
object
timezone
string
notification_preferences
object
folder
string

Set for client users filed under a folder

device_token
string

Present when remember_device was set on an MFA step. Send it as device_token on later password sign-ins.