Webhook map
challengehandshake(challenge.handshake)
messagesreceived(messages.received)
HTTP handler setup
app/api/webhook/route.ts
Events
Challenge
Handshake
challenge.handshake
Zoho Mail initial webhook handshake via x-hook-secret header
Payload: empty object
Response data full type
Response data full type
webhookHooks example
Messages
Received
messages.received
A new email was received in the mailbox
Payload
Response data full type
Response data full type
webhookHooks example