Method
Parameters
Response
Always
"list"Whether there are more results available
Learn more about Mintlify
Enter your email to receive updates about new features and product releases.
Retrieve a paginated list of webhooks.
func (s *WebhooksSvcImpl) List() (*ListWebhooksResponse, error)
func (s *WebhooksSvcImpl) ListWithContext(ctx context.Context) (*ListWebhooksResponse, error)
func (s *WebhooksSvcImpl) ListWithOptions(ctx context.Context, options *ListOptions) (*ListWebhooksResponse, error)
"list"client := resend.NewClient("re_123456789")
response, err := client.Webhooks.List()
if err != nil {
panic(err)
}
for _, webhook := range response.Data {
fmt.Printf("Webhook: %s - %s\n", webhook.Id, webhook.Endpoint)
fmt.Printf(" Events: %v\n", webhook.Events)
}
fmt.Println("Has More:", response.HasMore)