Send & check verification
Algeria SMS OTP Verify API: POST /v1/verify/send then POST /v1/verify/check. Scopes verify:send and verify:check. Send and verify OTP for +213. Magic Numbers are test-only. Also covers 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"}'