https://github.com/shmokmt/sgew
SendGrid Event Webhook Debugger
https://github.com/shmokmt/sgew
sendgrid sendgrid-api
Last synced: 3 months ago
JSON representation
SendGrid Event Webhook Debugger
- Host: GitHub
- URL: https://github.com/shmokmt/sgew
- Owner: shmokmt
- License: mit
- Created: 2023-12-26T11:11:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-19T00:22:07.000Z (7 months ago)
- Last Synced: 2025-04-01T17:10:33.498Z (3 months ago)
- Topics: sendgrid, sendgrid-api
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sgew
SendGrid Event Webhook Debugger
## Requirements
```
export SENDGRID_API_KEY=xxx
export NGROK_AUTHTOKEN=xxx
```## Usage
```
❯ sgew --help
Usage: sgewSendGrid Event Webhook Debugger
Flags:
-h, --help Show context-sensitive help.Commands:
listen
Listen for webhook eventstrigger --id=STRING --url=STRING
trigger test webhook eventsls
List all event webhooksRun "sgew --help" for more information on a command.
```List all event webhooks
```
+--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------+------------------------------------------+--------------+
| ID | ENABLED | URL | FRIENDLY NAME | CREATED DATE |
+--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------+------------------------------------------+--------------+
| 61d7a811-1855-41bc-a75c-d5ef9d1adefa | false | https://receiver1.example.com | receiver1 | 2023-10-24 |
+--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------+------------------------------------------+--------------+
| b2b55c5d-d703-494c-b6c3-4618bfb5dee9 | true | https://receiver2.example.com | receiver2 | 2023-12-19 |
+--------------------------------------+---------+------------------------------------------------------------------------------------------------------------------+------------------------------------------+--------------+
```# See Also
- https://docs.sendgrid.com/api-reference/how-to-use-the-sendgrid-v3-api/authentication
- https://ngrok.com/docs/agent/cli/