SendGrid webhook
Paste this URL into a SendGrid Event Webhook with Signed Event Webhook
turned on, and save its Verification Key on the provider in Senlo.
Senlo verifies the ECDSA signature and the timestamp (at most 25 hours
old), then applies delivered, bounce, spamreport and dropped
events from the batch; a drop counts only for an address reason
(Bounced Address, Invalid Address, Spam Reporting Address).
Other event types are acknowledged and ignored.
X-Twilio-Email-Event-Webhook-Signature*stringBase64 ECDSA signature of the timestamp followed by the raw body.
X-Twilio-Email-Event-Webhook-Timestamp*stringThe batch of events exactly as SendGrid sends it.
application/json- body
[index: integer]?Accepted. Also returned for events Senlo ignores, so the provider stops retrying.
application/json- response
success?booleancurl -X POST 'https://senlo.io/api/webhooks/sendgrid' \ -H 'X-Twilio-Email-Event-Webhook-Signature: string' \ -H 'X-Twilio-Email-Event-Webhook-Timestamp: string' \ -H 'Content-Type: application/json' \ -d '[ {}]'{ "success": true}Send a triggered email POST
Queues one email from a trigger. The trigger must belong to the workspace the API key is scoped to, and must be a triggered (API) trigger. A `200` means the email is queued, not that the provider accepted it. Delivery status shows up in the trigger's delivery log. `locale` picks the trigger's template for that locale when one is set, otherwise the trigger's default template. The match is exact and case-sensitive.
One-click unsubscribe POST
The address the `List-Unsubscribe` header of every email points at. Mail providers such as Gmail and Yahoo post to it when the recipient clicks their built-in unsubscribe button (RFC 8058). You do not call it yourself. Responses are plain text, not JSON.