Notifications API

Template-only notifications: approved templateId, max 5 fields × 40 chars, scope notifications:send, POST /v1/notifications/send. Not free text.

# Notifications send (approved template only — not free text)
curl -X POST "https://api.algeriaotp.com/v1/notifications/send" \
  -H "X-Api-Key: <AOTP_API_KEY>" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-A100-shipped" \
  -d '{
    "to": "+213000000000",
    "templateId": "<TMPL_ID>",
    "fields": { "order_id": "A100", "amount": "2500" }
  }'

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