{
"id": "<string>",
"type": "phishing.credentials.submitted",
"created_at": "2023-11-07T05:31:56Z",
"entreprise_id": "<string>",
"data": {
"employe": {
"id": "<string>",
"email": "jsmith@example.com"
},
"campagne": {
"id": "<string>",
"nom": "<string>"
},
"submitted_at": "2023-11-07T05:31:56Z"
}
}API Reference
Un employé a saisi ses identifiants
WEBHOOK
phishing.credentials.submitted
{
"id": "<string>",
"type": "phishing.credentials.submitted",
"created_at": "2023-11-07T05:31:56Z",
"entreprise_id": "<string>",
"data": {
"employe": {
"id": "<string>",
"email": "jsmith@example.com"
},
"campagne": {
"id": "<string>",
"nom": "<string>"
},
"submitted_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
L'événement le plus critique : traitez-le comme un incident (reset de mot de passe, révocation de session).
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.credentials.submitted"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