Skip to main content
POST
Verify Email Code

Overview

Verify the code received by email and create a user account. This endpoint:
  1. Validates the verification code sent to the user’s email
  2. Creates a new user account with email and password
  3. Generates an onboarding ID for completing registration
  4. Returns user details and onboarding status
After successful verification, the user enters the onboarding flow to complete their profile.

Request

Body

string
required
User’s email addressExample: hello@example.com
string
required
User’s chosen passwordSecurity: Should meet minimum strength requirementsExample: x1x2x3x4y1y2y3y4!!
string
required
6-digit code received by emailExample: 123456
string
required
Verification ID from email send stepExample: US_100a99cf-f4d3-4fa1-9be9-2e9828b20ebb
string
required
User’s country of residenceFormat: ISO 3166-1 alpha-2 codeExample: GB
boolean
required
User consent for marketing communicationsExample: true
boolean
required
User consent for SMS communicationsExample: true

Response

boolean
Whether email already has an accountExample: false
string
Onboarding ID for completing registrationStore this for subsequent onboarding stepsExample: US_100a99cf-f4d3-4fa1-c123-2e9833440ebb
object
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