Infrastructure
DigitalOcean Webhooks
Cloud infrastructure platform. Receive events for droplets, app deployments, alerts, and monitoring.
Connecting DigitalOcean to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into DigitalOcean. Then:
- 1Go to DigitalOcean → Monitoring → Create Alert Policy
- 2Under "Notify via", select "Webhook" and paste your Hookbase ingest URL
- 3For App Platform, configure deploy hooks in the app spec
- 4Consider using a unique source slug in the URL for basic authentication
Signature verification
DigitalOcean does not sign its webhooks with an HMAC scheme, so a signing secret on the source would have nothing to verify. Use a custom source with no secret, and keep the ingest URL itself hard to guess.
How DigitalOcean secures them instead: DigitalOcean alert webhooks do not support HMAC signatures. Use a unique source slug for basic authentication.
DigitalOcean event types
7 of the events people route most often. Hookbase accepts every event DigitalOcean sends, whether or not it is listed here.
droplet.create
A droplet was created
droplet.destroy
A droplet was destroyed
droplet.power_off
A droplet was powered off
app.deployment.succeeded
An App Platform deployment succeeded
app.deployment.failed
An App Platform deployment failed
alert.triggered
A monitoring alert was triggered
alert.resolved
A monitoring alert was resolved
What a DigitalOcean webhook looks like
A alert.triggered payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"alert_uuid": "alert-abc123",
"scoped_resource": "droplet",
"description": "CPU usage exceeded 90%",
"severity": "critical",
"entities": {
"name": "web-01",
"id": "12345678",
"type": "droplet"
},
"trigger": {
"window": "5m",
"value": 95.2,
"threshold": 90,
"comparison": "above"
},
"triggered_at": "2024-01-15T10:30:00Z"
}Start receiving DigitalOcean webhooks
Create a source, paste the URL into DigitalOcean, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free