Skip to content

Latest commit

 

History

History
58 lines (51 loc) · 5.06 KB

api.md

File metadata and controls

58 lines (51 loc) · 5.06 KB

Webhooks

Types:

Methods:

  • client.webhooks.create({ ...params }) -> WebhookEndpointWithSecret
  • client.webhooks.retrieve(webhookEndpointID) -> WebhookEndpoint
  • client.webhooks.update(webhookEndpointID, { ...params }) -> WebhookEndpoint
  • client.webhooks.list({ ...params }) -> WebhookEndpointsPage
  • client.webhooks.delete(webhookEndpointID) -> DeletedWebhookEndpoint
  • client.webhooks.rotateSecret(webhookEndpointID, { ...params }) -> WebhookEndpointWithSecret
  • client.webhooks.test(webhookEndpointID, { ...params }) -> WebhookEndpointTestResult
  • client.webhooks.unwrap(body) -> void

EventTypes

Methods:

  • client.webhooks.eventTypes.list() -> WebhookEventTypeList