✉️ Test Client API Email Multi-Tenant

Exécution d'un envoi transactionnel vers https://notif.compareb2b.com/public/email/send.php

Requête JSON Expédiée

{
    "from": {
        "email": "notifications@acme-global.com",
        "name": "Acme Cloud Alert"
    },
    "to": {
        "email": "client.demo@example.com",
        "name": "Jean Dupont"
    },
    "subject": "Votre rapport de sécurité mensuel est disponible",
    "html": "<h2>Bonjour Jean,<\/h2><p>Votre rapport d activité mensuel a été généré avec succès.<\/p><p><a href=\"https:\/\/acme-global.com\/dashboard\" style=\"background:#06b6d4;color:#fff;padding:8px 16px;border-radius:6px;text-decoration:none;\">Consulter mon rapport<\/a><\/p>",
    "text": "Bonjour Jean,\nVotre rapport d activité mensuel a été généré avec succès.\nConsultez-le ici : https:\/\/acme-global.com\/dashboard",
    "tags": "rapport-mensuel"
}

Réponse Reçue de la Passerelle (HTTP 200)

{
    "success": true,
    "message_uuid": "0d7c59d3-5726-4a42-a6aa-abc02bf33134",
    "status": "sent",
    "recipients_count": 1,
    "provider_used": "Simulator FastRelay (Mock \/ Test)",
    "provider_protocol": "mock",
    "provider_message_id": "MOCK_MAIL_01A7A9AE55D6A861",
    "attempts_count": 1,
    "cascade_attempts": [
        {
            "attempt": 1,
            "provider": "Simulator FastRelay (Mock \/ Test)",
            "protocol": "mock",
            "success": true,
            "latency_ms": 70,
            "error": null
        }
    ],
    "http_code": 200
}

Accéder au Dashboard Email →