Webhooks
Webhooks let you receive real-time HTTP callbacks whenever a message status changes.
How it works
- Register an HTTPS endpoint in the dashboard or via API
- Notifo sends a signed
POSTrequest to that URL on every matching event - Respond with any
2xxstatus to acknowledge receipt
Register a webhook
POST /v1/webhooks
Authorization: Bearer eyJ...
Content-Type: application/json
{
"url": "https://yourapp.com/webhooks/notifo",
"events": ["message.delivered", "message.failed"]
}
| Field | Type | Required | Description |
|---|---|---|---|
url | string | yes | Your HTTPS endpoint |
events | string[] | no | Events to subscribe to; defaults to all events |
Response
{
"id": "wh_01j...",
"url": "https://yourapp.com/webhooks/notifo",
"events": ["message.delivered", "message.failed"],
"isActive": true,
"secret": "a1b2c3d4...",
"warning": "Store this signing secret — it will not be shown again."
}
caution
Save the secret immediately — it is shown once and used to verify every incoming request.
Manage webhooks
# List
GET /v1/webhooks
# Delete
DELETE /v1/webhooks/:id
# Enable
PATCH /v1/webhooks/:id/enable
# Disable
PATCH /v1/webhooks/:id/disable