Idempotency & retries

Official Idempotency-Key header for verify/send, sms/send, and notifications/send. Notifications also accepts body idempotencyKey; conflicts return 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