Skip to main content
POST
Verify OTP

Body

application/json
identifierString
string
required
Example:

"user@example.com"

otp
string
required
Example:

"123456"

methodId
string | null

Required for email or SMS OTP verification depending on the login method.

Example:

"otp_method_123"

Response

OTP verified successfully.

token
string
required

Storefront session JWT. Send via the Authorization: Bearer header.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."