Builder

public final class Builder

A builder for creating a CreateWebhookRequest.

Parameters

triggerTypes

Select the event that triggers the webhook.

callbackUrl

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 notificationEmailAddress(String notificationEmailAddress)

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