Verify OTP
Auth
Verify OTP
Verifies the OTP sent via phone, email, or WhatsApp. On success, returns a User object with access_token and refresh_token. Pass the otp_token and otp_action received from the login endpoint.
POST
Verify OTP
Documentation Index
Fetch the complete documentation index at: https://www.commercengine.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Access token
Body
application/json
A string representing the one-time password.
A string representing the OTP token.
A string indicating the action to be performed.
Available options:
login, register, reset-password, verify-phone, verify-email, update-phone, update-email