API · Webhooks
Retrieve Webhook
Retrieve a webhook’s endpoint, events, and status (requires full access). The signing secret is only returned when creating the webhook or rotating the secret.
GET
/webhooks/{webhook_id}Full accessRequest parameters
| Parameter | Type | Description |
|---|---|---|
webhook_idpath · required | string | The Webhook ID. |
Request example
Set OPENSEND_BASE_URL=https://api.example.com and OPENSEND_API_KEY=os_replace_me on your server.
bash
curl -X GET "$OPENSEND_BASE_URL/webhooks/YOUR_webhook_id" \
-H "Authorization: Bearer $OPENSEND_API_KEY"Response
200 · application/json. Example IDs stand for IDs returned by your installation.
json
{
"object": "webhook",
"id": "479e3145-dd38-476b-932c-529ceb705947",
"endpoint": "https://webhook.example.com/handler",
"events": [
"email.sent",
"email.delivered"
],
"status": "enabled",
"created_at": "2023-10-06 23:47:56.678+00",
"signing_secret": "whsec_..."
}Behavior and errors
The response includes signing_secret, as Resend’s retrieve endpoint does; the dashboard shows the same secret to team members. List webhooks omits it. Request logs redact the secret.
Use a full-access credential. Unknown or foreign resources return 404. See authentication, errors, rate limits, and pagination.