Webhook Notifications
Update a webhook destination
Update the values in a specific webhook destination.
Limitations
- You only need to specify fields that need to change when you make a request to this endpoint. Empty fields in the request do not overwrite existing fields.
- You should limit how many webhook destinations you have for each trigger type. When Nylas retries a webhook, the retry goes to all destinations for the specific trigger type. This can result in a lot of notifications.
- Some webhook testing tools rate-limit or block you if your webhook destination endpoint generates too much traffic. Nylas blocks Ngrok connections for this reason.
put/v3/webhooks/{id}
Path parameters
idstring required
Request body
Example request
{
"description": "Production webhook destination",
"webhook_url": "https://example.com/webhooks",
"notification_email_addresses": [
"abc@example.com",
"def@example.com"
],
"compressed_delivery": true
}Response
Destination Updated
Example response
{
"data": {
"id": "UMWjAjMeWQ4D8gYF2moonK4486",
"description": "Production webhook destination",
"webhook_url": "https://example.com/webhooks",
"notification_email_addresses": [
"jane@example.com",
"joe@example.com"
],
"status_updated_at": 1234567890,
"created_at": 1234567890,
"updated_at": 1234567890
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.