Webhooks API
Auto-generated from
openapi-snapshot.json. Do not edit by hand — changes are overwritten byscripts/docs/generate_api_reference.py.
1 endpoints in this group.
POST /api/webhooks/sendgrid/events
Sendgrid Events
Receive a SendGrid Event Webhook batch.
Verifies the ECDSA signature when SENDGRID_WEBHOOK_PUBLIC_KEY is configured, then inserts each event into email_events (idempotent on sg_event_id).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-twilio-email-event-webhook-signature | header | string | optional | |
x-twilio-email-event-webhook-timestamp | header | string | optional |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |