API Notifications

Notifications modèles uniquement : templateId approuvé, max 5 champs × 40 caractères, portée notifications:send, POST /v1/notifications/send. Pas de texte libre.

# 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