There are two ways which you may secure your endpoint. SendGrid's webhooks support basic auth (e.g. https://user:pass@example.com/endpoint
). You can also implement a unique key, that you check before acting upon the request (e.g. https://example.com/endpoint?key=123
).
The simple answer, however, is anything that you add to the URL can act as unique authentication for SendGrid.