Verify Email Code
Authentication
Verify Email Code
Verify email code and create user account with initial details
POST
Verify Email Code
Overview
Verify the code received by email and create a user account. This endpoint:- Validates the verification code sent to the user’s email
- Creates a new user account with email and password
- Generates an onboarding ID for completing registration
- Returns user details and onboarding status
Request
Body
User’s email addressExample:
hello@example.comUser’s chosen passwordSecurity: Should meet minimum strength requirementsExample:
x1x2x3x4y1y2y3y4!!6-digit code received by emailExample:
123456Verification ID from email send stepExample:
US_100a99cf-f4d3-4fa1-9be9-2e9828b20ebbUser’s country of residenceFormat: ISO 3166-1 alpha-2 codeExample:
GBUser consent for marketing communicationsExample:
trueUser consent for SMS communicationsExample:
trueResponse
Whether email already has an accountExample:
falseOnboarding ID for completing registrationStore this for subsequent onboarding stepsExample:
US_100a99cf-f4d3-4fa1-c123-2e9833440ebbInitial user object with minimal detailsAdditional details added in subsequent onboarding steps
Code Examples
Next Steps
Send Phone Verification
Continue onboarding by verifying phone number