Update Webhook
Update an existing webhook. Only the fields provided will be updated (partial update). You can change the name, target URL, authentication, events, or active status.
Documentation Index
Fetch the complete documentation index at: https://docs.lettr.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication
Path Parameters
The webhook ID to update
"webhook-abc123"
Body
Request body for updating a webhook. Only provided fields will be updated.
Name of the webhook
255"Updated Webhook Name"
URL where webhook events will be sent
2048"https://example.com/webhook"
Deprecated alias for url. Accepted for backwards compatibility.
2048"https://example.com/webhook"
Authentication type for the webhook
none, basic, oauth2 "none"
Username for basic authentication
255Password for basic authentication
255OAuth2 token URL
2048OAuth2 client ID
255OAuth2 client secret
255Event types that trigger the webhook. Fully-prefixed names such as message.delivery are canonical; short names (delivery) and the legacy engagament.* prefix are accepted for backwards compatibility and are normalised to the fully-prefixed form.
1message.injection, message.delivery, message.bounce, message.delay, message.out_of_band, message.spam_complaint, message.policy_rejection, engagement.click, engagement.open, engagement.initial_open, engagement.amp_click, engagement.amp_open, engagement.amp_initial_open, generation.generation_failure, generation.generation_rejection, unsubscribe.list_unsubscribe, unsubscribe.link_unsubscribe, relay.relay_injection, relay.relay_rejection, relay.relay_delivery, relay.relay_tempfail, relay.relay_permfail ["message.delivery", "message.bounce"]Whether the webhook is enabled
true