Webhooks of the change feed: id, url, filter (tables, ops, columns, exclude_actor), `cursor` (last change delivered), `status` (ok, failing, disabled), `last_delivery`, `last_error`. Secrets are not shown.
POST
/datanotes/operations/list_webhooks/
const url = 'https://example.com/datanotes/operations/list_webhooks/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/datanotes/operations/list_webhooks/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{}'Webhooks of the change feed: id, url, filter (tables, ops, columns, exclude_actor), cursor (last change delivered), status (ok, failing, disabled), last_delivery, last_error. Secrets are not shown.
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”Media typeapplication/json
object
Example generated
{}Responses
Section titled “Responses”Done.
Media typeapplication/json
object
webhooks
required
Array<object>
WebhookA webhook of the change feed (its secret is never listed).
object
id
required
Webhook id (wh_…).
string
url
required
Receiver URL.
string
tables
Array<string>
kinds
Array<string>
columns
Array<string>
exclude_actor
string
where
Row filter.
object
key
additional properties
any
enabled
required
boolean
cursor
required
Last sequence number delivered (or skipped by the filter).
integer
created_at
required
ISO date-time.
string
last_delivery
ISO date-time of the last delivery.
string
last_error
string
failures
required
Consecutive failed deliveries.
integer
status
required
Delivery state.
string
Example
{ "webhooks": [ { "kinds": [ "insert" ], "status": "ok" } ]}Bad input: the body is not a JSON object, or an argument is unknown, missing or of the wrong type.
Media typeapplication/json
object
error
required
What went wrong, for a person or an agent.
string
Example generated
{ "error": "example"}Missing or wrong bearer token.
Media typeapplication/json
object
error
required
What went wrong, for a person or an agent.
string
Example generated
{ "error": "example"}Unexpected error.
Media typeapplication/json
object
error
required
What went wrong, for a person or an agent.
string
Example generated
{ "error": "example"}