This endpoint takes an OTP code and confirms its validity.

With the possession of a valid access (bearer) token, you can use the OTP Verify endpoint to verify the 6-digit OTP code sent via OTP Send.

REQUEST
curl --request POST \
     --url 'https://id.eu.nextreason.com/idp/v1/otp/verify?env_id=ENVIRONMENT_ID' \
     --header 'Content-Type: application/json' \
     --data '
{
     "auth_type": "sms",
     "client_id": "c8462jyq9dnupu2q4j7sfjzvn6c87j92",
     "code": "151121",
     "user_id": "+15417543010",
     "locale": "en-US"
}
'
Language
Authentication
Bearer
URL
Click Try It! to start a request and see the response here!