JSON Handler
Handle webhook events in JSON format
Receive webhook events as a JSON object containing an array of events.
Set Payload format: JSON in your webhook settings.
Mailtrap sends a POST request to your webhook URL with events as a JSON object.
Your endpoint should:
- Accept
Content-Type: application/json - Return HTTP 200 to acknowledge receipt
- Process events asynchronously
Payload
Responses
200
Return 200 to acknowledge successful receipt
No content
500
Any other status triggers retry (40 retries every 5 min)
Payload
Last updated
Was this helpful?

