Get Webhook

Retrieve a single webhook by ID, including the signing secret.

GET/webhooks/{webhook_id}

Resend Compatibility: Compatible

Requires a full_access API key.

Path Parameters

webhook_idstringrequired

The ID of the webhook to retrieve.

Response Fields

objectstring

Always "webhook".

idstring

The webhook ID.

created_atstring

ISO 8601 timestamp.

statusstring

Webhook status: enabled or disabled.

endpointstring

The webhook endpoint URL.

eventsstring[]

Array of subscribed event types.

signing_secretstring

The signing secret for verifying webhook payloads.

curl -X GET 'https://api.postflare.app/webhooks/wh_a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
  -H 'Authorization: Bearer re_xxxxxxxxx'
const response = await fetch(
  'https://api.postflare.app/webhooks/wh_a1b2c3d4-e5f6-7890-abcd-ef1234567890',
  {
    headers: {
      'Authorization': 'Bearer re_xxxxxxxxx',
    },
  }
);

const data = await response.json();

Response

Response
{
  "object": "webhook",
  "id": "wh_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "created_at": "2026-01-01T00:00:00.000Z",
  "status": "enabled",
  "endpoint": "https://example.com/webhooks",
  "events": ["email.sent", "email.delivered", "email.bounced"],
  "signing_secret": "whsec_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}