Webhooks
Update webhook
Update the URL, events, or active status of an existing webhook endpoint.
put/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
Webhook updated
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.