Create a key to copy examples filled with your team.
Managing webhooks
Delivery events as a SendGrid Event Webhook array.
PostShiba POSTs a JSON array of SendGrid Event Webhook objects to your URL after send. Tatami can read that shape as a SendGrid source.
API and dashboard
- API actions are index, show, and create. There is no update or delete on the API.
- The dashboard can enable or disable an endpoint, change event types, and replay dead outgoing event deliveries. It does not show controls to change the URL or delete the endpoint.
secretis returned on create and show only. Index omits it.
Default event_types are processed dropped deferred bounce delivered spamreport. Production url must be https. Non-public URLs are blocked. Set X-Capsule-Unique-Args when you send. Those keys are flattened onto each event and also appear as unique_args.
events.json
1
[
2
{
3
"event": "delivered",
4
"email": "you@example.com",
5
"sg_event_id": "capsule-44",
6
"campaign_id": "cmp_123",
7
"site": "docs",
8
"unique_args": {
9
"campaign_id": "cmp_123",
10
"site": "docs"
11
}
12
}
13
]