DEVELOPER DOCUMENTATION
/API Overview
//
Send OTP
Sends an OTP code to the holder via SMS or email. Use certIdOtp and deviceCode returned by enroll. See sendOtp.
Sécurité
basicAuth and sslCertificate
OTP certificate identifier returned by enroll (certIdOtp).
Exemple:1234567
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/sendOtp
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/sendOtp
curl -i -X POST \
-u '<username>:<password>' \
https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/sendOtp \
-H 'Content-Type: application/json' \
-d '{
"certIdOtp": 1234567,
"deviceCode": "RHIDP0000000000000",
"smsOptions": {
"textSMS": "Your OTP code is: $OTP$"
}
}'