List webhooks
GET/v2/webhooks
Returns a list of webhooks in your organization using cursor-based pagination.
Query Parameters
limit- Number of webhooks to return (1-100, default 10)cursor- Cursor from previous response for paginationstatus- Filter by status: “active”, “paused”, or “suspended”
Response Format
Returns a list object with:
object- Always “list”data- Array of webhook objectsnextCursor- Cursor for the next page, or null if no more results
Webhook Object
Each webhook includes:
id- Unique webhook identifiername- Human-readable webhook nameurl- Webhook endpoint URLtopics- Array of subscribed event topicsstatus- Current status (“active”, “paused”, “suspended”)health- Health metrics (response times, error counts)createdAt- Creation timestampupdatedAt- Last update timestamp
Example
{
"object": "list",
"data": [
{
"object": "webhook",
"id": "507f1f77bcf86cd799439011",
"name": "Production Webhook",
"url": "https://example.com/webhooks",
"topics": ["post.created", "post.updated"],
"status": "active",
...
}
],
"nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9"
}
Version Availability
This endpoint is only available in API version 2026-01-01.nova and newer.
Query Parameters
List webhooks
curl https://do.featurebase.app/v2/webhooks \
-H "Authorization: Bearer $FEATUREBASE_API_KEY"{
"data": [
{
"id": "507f1f77bcf86cd799439011",
"createdAt": "2025-01-15T10:30:00.000Z",
"description": "Handles all production events",
"health": {
"avgResponseTime": 200,
"consecutiveFailures": 0,
"errorsSinceLastSuccess": 0,
"lastResponseTime": 150,
"lastSuccessAt": "2025-01-15T10:30:00.000Z"
},
"lastStatus": {
"code": 200,
"message": "Success",
"timestamp": "2025-01-15T10:30:00.000Z"
},
"name": "Production Webhook",
"object": "webhook",
"requestConfig": {
"timeoutMs": 5000,
"headers": {
"X-Custom-Header": "value"
}
},
"secret": "whsec_abc123def456ghi789",
"status": "active",
"topics": [
"post.created",
"post.updated"
],
"updatedAt": "2025-01-15T10:30:00.000Z",
"url": "https://example.com/webhooks",
"version": "1.0"
}
],
"nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9",
"object": "list"
}Returns Examples
{
"data": [
{
"id": "507f1f77bcf86cd799439011",
"createdAt": "2025-01-15T10:30:00.000Z",
"description": "Handles all production events",
"health": {
"avgResponseTime": 200,
"consecutiveFailures": 0,
"errorsSinceLastSuccess": 0,
"lastResponseTime": 150,
"lastSuccessAt": "2025-01-15T10:30:00.000Z"
},
"lastStatus": {
"code": 200,
"message": "Success",
"timestamp": "2025-01-15T10:30:00.000Z"
},
"name": "Production Webhook",
"object": "webhook",
"requestConfig": {
"timeoutMs": 5000,
"headers": {
"X-Custom-Header": "value"
}
},
"secret": "whsec_abc123def456ghi789",
"status": "active",
"topics": [
"post.created",
"post.updated"
],
"updatedAt": "2025-01-15T10:30:00.000Z",
"url": "https://example.com/webhooks",
"version": "1.0"
}
],
"nextCursor": "eyJpZCI6IjUwN2YxZjc3YmNmODZjZDc5OTQzOTAxMSJ9",
"object": "list"
}