SDK ReferencePython SDK

Webhooks

API functions for the Webhooks resource.

Webhooks

Functions for interacting with the webhooks API resource. Each operation ships in four forms — sync / sync_detailed and their async counterparts.

List Webhook Deliveries

List webhook deliveries

Parameters

  • limit (Union[Unset, int])
  • cursor (Union[Unset, str])
  • status (Union[Unset, ListWebhookDeliveriesStatus])
  • since (Union[Unset, datetime.datetime])

Call styles

sync_detailed(client=client, limit=limit, cursor=cursor, status=status, since=since) -> Response[ListWebhookDeliveriesResponse200]
sync(client=client, limit=limit, cursor=cursor, status=status, since=since) -> Optional[ListWebhookDeliveriesResponse200]
await asyncio_detailed(client=client, limit=limit, cursor=cursor, status=status, since=since) -> Response[ListWebhookDeliveriesResponse200]
await asyncio(client=client, limit=limit, cursor=cursor, status=status, since=since) -> Optional[ListWebhookDeliveriesResponse200]

Retry Webhook Delivery

Retry a webhook delivery

Requeues a failed or exhausted webhook delivery for another attempt.

Limits: this endpoint takes no request body; any body sent is capped at 64 KB. An oversized body returns a 400 with error code request_too_large.

Parameters

  • id (str)

Call styles

sync_detailed(id=id, client=client) -> Response[Union[Error, WebhookDeliveryResponse]]
sync(id=id, client=client) -> Optional[Union[Error, WebhookDeliveryResponse]]
await asyncio_detailed(id=id, client=client) -> Response[Union[Error, WebhookDeliveryResponse]]
await asyncio(id=id, client=client) -> Optional[Union[Error, WebhookDeliveryResponse]]