Email OTP
POST /sign-in/email-otp
Sign in with email and OTP
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
email*string
Email address to sign in
otp*string
OTP sent to the email
name?string
User display name. Only used if the user is registering for the first time. Eg: "my-name"
image?string
User profile image URL. Only used if the user is registering for the first time.
[key: string]?unknown
Response Body
application/json
curl -X POST "https://example.com/api/auth/sign-in/email-otp" \ -H "Content-Type: application/json" \ -d '{ "email": "string", "otp": "string", "property1": null, "property2": null }'{ "token": "string", "user": {}}Is this page helpful?