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
string
required
User’s email addressExample:
hello@example.comstring
required
User’s chosen passwordSecurity: Should meet minimum strength requirementsExample:
x1x2x3x4y1y2y3y4!!string
required
6-digit code received by emailExample:
123456string
required
Verification ID from email send stepExample:
US_100a99cf-f4d3-4fa1-9be9-2e9828b20ebbstring
required
User’s country of residenceFormat: ISO 3166-1 alpha-2 codeExample:
GBboolean
required
User consent for marketing communicationsExample:
trueboolean
required
User consent for SMS communicationsExample:
trueResponse
boolean
Whether email already has an accountExample:
falsestring
Onboarding ID for completing registrationStore this for subsequent onboarding stepsExample:
US_100a99cf-f4d3-4fa1-c123-2e9833440ebbobject
Initial user object with minimal detailsAdditional details added in subsequent onboarding steps
Code Examples
Next Steps
Send Phone Verification
Continue onboarding by verifying phone number