Path Parameters
Copy
Ask AI
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.webhooks.get(
  '4dd369bc-aa82-4ff3-97de-514ae3000ee0',
);
Copy
Ask AI
{
  "object": "webhook",
  "id": "4dd369bc-aa82-4ff3-97de-514ae3000ee0",
  "created_at": "2023-08-22T15:28:00.000Z",
  "status": "enabled",
  "endpoint": "https://example.com/handler",
  "events": ["email.sent"],
  "signing_secret": "whsec_xxxxxxxxxx"
}