SDK reference · Python SDK
prov.webhooks
prov.webhooks in the Python SDK: 7 methods. The webhooks methods.
Methods
list
prov.webhooks.list() -> AnyCalls GET /v1/webhook_endpoints.
create
prov.webhooks.create(**body: Any = …) -> AnyCalls POST /v1/webhook_endpoints.
update
prov.webhooks.update(endpoint_id: str, **body: Any = …) -> AnyCalls PATCH /v1/webhook_endpoints/{id}.
delete
prov.webhooks.delete(endpoint_id: str) -> AnyCalls DELETE /v1/webhook_endpoints/{id}.
rotate_secret
prov.webhooks.rotate_secret(endpoint_id: str) -> AnyCalls POST /v1/webhook_endpoints/{id}/rotate_secret.
test
prov.webhooks.test(endpoint_id: str) -> AnyCalls POST /v1/webhook_endpoints/{id}/test.
deliveries
prov.webhooks.deliveries(endpoint_id: str) -> AnyCalls GET /v1/webhook_endpoints/{id}/deliveries.