# Receive spam complaint notifications Webhook endpoint for receiving spam complaint notifications. Public endpoint - configure this URL in your mail server or feedback loop service. Endpoint: POST /webhooks/complaint Version: 1.0.0 Security: , ## Request fields (application/json): - `emailId` (string, required) ID of the complained email Example: "550e8400-e29b-41d4-a716-446655440000" - `recipientEmail` (string) Recipient who complained Example: "user@example.com" - `complaintType` (string) Type of complaint Example: "abuse" - `timestamp` (string) Example: "2024-03-15T14:45:00Z" - `feedbackType` (string) Enum: "abuse", "fraud", "virus", "other" - `customData` (object) ## Response 200 fields (application/json): - `success` (boolean) Example: true ## Response 400 fields (application/json): - `error` (string) ## Response 500 fields (application/json): - `error` (string)