This endpoint will send a six digit numeric code to a user via either email or SMS depending on chosen auth_type.



If the /token endpoint receives five (5) attempts (either successful or failed) within a minute, it will return a 429 Too Many Requests error response. This will block the user account for 5 minutes and will automatically be unblocked when the time has passed.

Here's a sample API call to send an OTP code to a user via email or SMS.

curl --request POST \
     --url '' \
     --header 'Content-Type: application/json' \
     --data '
     "auth_type": "sms",
     "client_id": "c8462jyq9dnupu2q4j7sfjzvn6c87j92",
     "redirect_uri": "",
     "user_id": "+15417543010",
     "locale": "en-US",
     "message": "Your one time use code is %code%",
     "method": "voice_with_otp"
Click Try It! to start a request and see the response here!