Otp
Authenticate
Changed onAuthenticate a User given a method_id (the associated email_id or phone_id) and a code. This endpoint verifies that the code is valid, hasn't expired or been previously used, and any optional security settings such as IP match or user agent match are satisfied. A given method_id may only have a single active OTP code at any given time, if a User requests another OTP code before the first one has expired, the first one will be invalidated.
post/v1/otps/authenticate
Request
- Base URLhttps://api.stytch.com
- AuthHTTP basic
Request body
Response
Successful response
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking