Webhooks API
Programmatic API to manage your webhooks.
Create
{
"url": "https://your-app.com/webhooks/pepe",
"events": [
"post.published",
"post.failed",
"inbox.message.received"
]
}
{
"id": "whk_xxx",
"url": "https://your-app.com/webhooks/pepe",
"secret": "whsec_xxxxx",
"events": [...],
"status": "active",
"createdAt": "..."
}
List
Get
Update
{ "events": ["post.published"] }
Delete
Send a test
{ "event": "post.published" }
Delivery logs
{
"data": [
{
"id": "log_xxx",
"eventId": "evt_xxx",
"eventType": "post.published",
"attempt": 1,
"status": "delivered",
"responseCode": 200,
"duration": 142,
"timestamp": "..."
}
]
}
Replay an event
Available events
See the Webhooks page for the exhaustive list of the 7 event families.