Idempotence et nouvelles tentatives

En-tête officiel Idempotency-Key pour verify/send, sms/send et notifications/send. Notifications accepte aussi body idempotencyKey ; conflits → IDEMPOTENCY_CONFLICT.

curl -X POST "https://api.algeriaotp.com/v1/verify/send" \
  -H "X-Api-Key: aotp_live_..." \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-42-otp" \
  -d '{"phone":"+213555123456","locale":"fr"}'

Français · العربية · English