OTP
Endpoints to create and activate a one time code
Login with OTP
Send a login email or SMS to the user. The user will receive an email or text with a one-time passcode to complete their login.
App ID
User Data
valid email or E164 phone number
language of the email to send (optional)
OK
The ID of the one-time passcode. Provide it when activating.
Register with OTP
Create a user and send a registration email or SMS to the user. The user will receive an email or text with a one-time passcode to complete their registration.
App ID
User Data
valid email or E164 phone number
language of the email to send (optional)
Created
The ID of the one-time passcode. Provide it when activating.
Authenticate OTP
Authenticate a one-time passcode for a user. This endpoint checks that the one-time passcode is valid, then returns an authentication token for the user.
App ID
User Data
The ID of the one-time passcode.
OK
Last updated