Webhooks API
API endpoints for managing webhook subscriptions.
Webhooks API
List webhook endpoints
GET /v1/webhooksCreate a webhook endpoint
POST /v1/webhooksRequest body:
{
"url": "https://example.com/webhooks/owlstack",
"events": ["post.published", "post.failed", "batch.completed"]
}Response:
{
"data": {
"id": "wh_abc123",
"url": "https://example.com/webhooks/owlstack",
"events": ["post.published", "post.failed", "batch.completed"],
"signing_secret": "whsec_a1b2c3d4...",
"active": true
}
}Update a webhook
PATCH /v1/webhooks/{id}Delete a webhook
DELETE /v1/webhooks/{id}Test a webhook
POST /v1/webhooks/{id}/testSends a test payload to verify your endpoint is receiving and processing webhooks correctly.