Webhooks
Update webhook
Same as PUT: a partial update that leaves out any field you omit. Accepted because Resend uses PATCH for this, so ported code works unchanged.
patch/v1/webhooks/{id}
Request
- Base URL: https://smtpfa.st/api
- URL: https://smtpfa.st/api/v1/webhooks/{id}
- Auth: HTTP bearer
Path parameters
idstring required
The webhook ID (e.g. wh_abc123)
Request body
Example request
{
"url": "https://yourapp.com/webhooks/smtpfast",
"events": [
"email.delivered",
"email.bounced"
],
"active": true
}Response
The updated webhook
Example response
{
"id": "wh_abc123",
"url": "https://yourapp.com/webhooks/smtpfast",
"events": [
"email.delivered",
"email.bounced"
],
"active": true
}Changes
No recorded changes to this operation across all 1 revision of this API.