List webhooks
GET/v1/webhooks
Lists webhook endpoints with optional filters and pagination
Query Parameters
cursor: optional string
Omit for the first page. For the next page, use the exact value from the previous response's next_cursor. Opaque (base64-encoded); keyset pagination.
enabled: optional boolean
Filter by enabled status
limit: optional number
Number of results to return (max 1000)
formatint64
minimum1
maximum1000
tenant_id: optional string
Filter by tenant ID. NULL bytes not allowed.
maxLength255
Returns
limit: number
Limit used in query
formatint64
next_cursor: optional string
Opaque cursor for the next page (keyset paging). Present only when there may be more results. Use as the cursor query param for the next page.
offset: optional number
Offset used in query (present when offset-based; omitted when using cursor)
total: optional number
Total count matching filters (present when offset-based; omitted when using cursor)
formatint64
List webhooks
curl http://localhost:8080/v1/webhooks \
-H "Authorization: Bearer $HUB_API_KEY"{
"data": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"enabled": true,
"updated_at": "2019-12-27T18:11:19.117Z",
"url": "url",
"disabled_at": "2019-12-27T18:11:19.117Z",
"disabled_reason": "disabled_reason",
"event_types": [
"feedback_record.created"
],
"tenant_id": "tenant_id"
}
],
"limit": 0,
"next_cursor": "next_cursor",
"offset": 0,
"total": 0
}Returns Examples
{
"data": [
{
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created_at": "2019-12-27T18:11:19.117Z",
"enabled": true,
"updated_at": "2019-12-27T18:11:19.117Z",
"url": "url",
"disabled_at": "2019-12-27T18:11:19.117Z",
"disabled_reason": "disabled_reason",
"event_types": [
"feedback_record.created"
],
"tenant_id": "tenant_id"
}
],
"limit": 0,
"next_cursor": "next_cursor",
"offset": 0,
"total": 0
}