Envoyer et vérifier
API Verify SMS OTP Algérie : POST /v1/verify/send puis POST /v1/verify/check. Portées verify:send et verify:check. Envoyez et vérifiez des OTP +213. Magic Numbers en test. Couvre aussi sms:send.
# Complete Verify flow (test key + Magic Number SUCCESS)
curl -X POST "https://api.algeriaotp.com/v1/verify/send" \
-H "X-Api-Key: <AOTP_API_KEY>" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: demo-verify-send-1" \
-d '{"phone":"+213000000000"}'
# Then check:
curl -X POST "https://api.algeriaotp.com/v1/verify/check" \
-H "X-Api-Key: <AOTP_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"verificationId":"<VERIFICATION_ID>","code":"000000"}'