Skip to main content

Request Body

profilePicture
string
Customer’s profile picture URL (optional)
identifierString
string
required
Customer’s email address or phone number for authentication
customerName
string
required
Customer’s full name
provider
string
Authentication provider (e.g., “google”, optional)
lastName
string
Customer’s last name (optional)
{
  "identifierString": "customer@example.com",
  "customerName": "John Smith",
  "lastName": "Smith"
}
{
  "stytchUserId": "user-test-12345678-1234-1234-1234-123456789012",
  "created": false,
  "methodId": "email-test-12345678-1234-1234-1234-123456789012"
}
The methodId returned is required for the subsequent OTP verification step. The created field indicates whether this is a new user registration (true) or existing user login (false).