Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

twilio-sendgrid-webhooks

Skill by openai

Tracks email delivery and engagement through SendGrid Event Webhooks. Covers 11 event types, webhook handlers, ECDSA signature checks and batched event processing. Built for developers using SendGrid, not the Twilio Email API.

  • Score 85
  • 8.4k stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install twilio-sendgrid-webhooks

Built from the published package, never by AI.

git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-sendgrid-webhooks ~/.claude/skills/twilio-sendgrid-webhooks

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install twilio-sendgrid-webhooks in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The twilio-sendgrid-webhooks skill explains how to track what happens to emails sent through SendGrid. It notes that the Mail Send API only returns 202 Accepted, which means queued, so Event Webhooks are needed to learn about delivery, bounces, opens, clicks, spam reports and unsubscribes. It lists all 11 event types, split into delivery and engagement events.

It includes example Flask and Express handlers that parse the batched arrays SendGrid posts. It also covers ECDSA signature verification, deduplication with sg_event_id and common debugging patterns. It is aimed at developers building delivery tracking, engagement analytics or bounce handling. The source says it does not apply to the Twilio Email API at comms.twilio.com.

Written from the project's SKILL.md and checked against it.

What it can do

  • Delivery eventsCovers processed, deferred, delivered, bounce and dropped events.
  • Engagement eventsCovers open, click, spamreport, unsubscribe and group subscription events.
  • Webhook handler examplesProvides Python Flask and Node.js Express handlers for batched event arrays.
  • ECDSA signature verificationExplains verifying signed Event Webhook requests with the key from the Console.
  • Multiple webhook endpointsDescribes sending delivery and engagement events to different endpoints.
  • Event deduplicationRecommends using sg_event_id as a unique key because it is stable across retries.

What you need

  • SendGrid API key with the SG. prefix
  • SendGrid Console access to enable Event Webhooks
  • Python with Flask or Node.js with Express for the example handlers

Try asking

  • Write a Flask handler for SendGrid event webhooks that parses the batched array.
  • Show me how to verify SendGrid signed webhook requests with ECDSA.
  • Help me track bounces and spam reports from SendGrid events.

Good to know

  • Mail Send returns 202 (queued) and does not confirm delivery.
  • Open tracking is unreliable because of Apple Mail Privacy Protection, prefetching and image blocking.
  • Webhook endpoints are unauthenticated unless signed webhooks or OAuth 2.0 are enabled.
  • Bots and security scanners can inflate engagement metrics.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/twilio-developer-kit/skills/twilio-sendgrid-webhooks/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • agents/openai.yaml229 B

Alternatives to twilio-sendgrid-webhooks

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

twilio-sendgrid-webhooks: common questions

Does SendGrid confirm delivery when the Mail Send API responds?

No. The Mail Send API returns 202 Accepted, which means queued. Delivery status arrives asynchronously through Event Webhooks.

Are SendGrid webhook endpoints secure by default?

No. Endpoints are unauthenticated by default, so Signed Event Webhooks or OAuth 2.0 must be enabled explicitly.

Can this skill be used with the Twilio Email API?

No. The source says it is not applicable to the Twilio Email API at comms.twilio.com and requires a SendGrid API key with the SG. prefix.

How do I install twilio-sendgrid-webhooks?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is twilio-sendgrid-webhooks free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is twilio-sendgrid-webhooks safe to use?

It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to twilio-sendgrid-webhooks?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

twilio-sendgrid-webhooks Install

Add to stack

Loading.