Headers
Bearer token from OTP verification
Format:
Format:
Bearer {jwt_token}
Storefront API key for authentication
This endpoint returns the customer profile information associated with the authenticated session. The JWT token is validated using Stytch’s session authentication, and the customer data is retrieved from the database using the customer ID stored in the token’s custom claims.The
phoneNumber
field is only included in the response if the customer has a phone number on file. The profilePicture
field may be an empty string if no profile picture is set.Authorizations
Response
Customer data retrieved successfully.
The customer's unique database ID
URL or path to the customer's profile picture (may be empty string)
The customer's email address
The customer's full name
The customer's phone number (optional, may not be present)