Builder

public final class Builder

A builder for creating a CreateWebhookRequest.

Parameters

triggerTypes

Select the event that triggers the webhook.

webhookUrl

The url to send webhooks to.

Constructors

Functions

Link copied to clipboard
Link copied to clipboard
public final CreateWebhookRequest.Builder description(String description)

Set a human-readable description of the webhook destination.

Link copied to clipboard
public final CreateWebhookRequest.Builder notificationEmailAddresses(List<String> notificationEmailAddresses)

Set the email addresses that Nylas notifies when a webhook is down for a while.