HydraCore
API by router

Email inbound

Gmail Push Webhook

Receive Gmail Pub/Sub push notification.

Google sends: { message: { data: base64(JSON), messageId, publishTime }, subscription } Verified by checking the subscription matches our expected Pub/Sub subscription name.

POST
/v1/hooks/email/gmail

Response Body

curl -X POST "https://loading/v1/hooks/email/gmail"
null

Resend Inbound Webhook

Receive Resend inbound email webhook with signature verification.

Resend signs webhooks with a shared secret. We verify the signature before processing. See: https://resend.com/docs/webhooks

POST
/v1/hooks/email/resend

Response Body

curl -X POST "https://loading/v1/hooks/email/resend"
null