{
"id": "<string>",
"type": "phishing.email.reported",
"created_at": "2023-11-07T05:31:56Z",
"entreprise_id": "<string>",
"data": {
"employe": {
"id": "<string>",
"email": "jsmith@example.com"
},
"campagne": {
"id": "<string>",
"nom": "<string>"
},
"statut": "<string>",
"reported_at": "2023-11-07T05:31:56Z"
}
}API Reference
Un employé a signalé un email suspect
WEBHOOK
phishing.email.reported
{
"id": "<string>",
"type": "phishing.email.reported",
"created_at": "2023-11-07T05:31:56Z",
"entreprise_id": "<string>",
"data": {
"employe": {
"id": "<string>",
"email": "jsmith@example.com"
},
"campagne": {
"id": "<string>",
"nom": "<string>"
},
"statut": "<string>",
"reported_at": "2023-11-07T05:31:56Z"
}
}Authorizations
Clé API créée depuis le dashboard (Réglages → Clés API). L'en-tête x-api-key: <clé> est accepté en alternative à Authorization: Bearer <clé>.
Body
application/json
campagne est null si l'employé a signalé un email hors campagne.
Identifiant stable de l'événement métier. Sert de clé d'idempotence : le même id ne sera jamais livré deux fois au même endpoint.
Allowed value:
"phishing.email.reported"Horodatage de l'événement métier (pas de l'envoi)
Entreprise concernée. Toujours la vôtre.
Show child attributes
Show child attributes
Response
200
Accusé de réception