Webhooks

public final class Webhooks extends Resource<Webhook>

Nylas Webhooks API

The Nylas Webhooks API allows your application to receive notifications in real-time when certain events occur.

Constructors

Link copied to clipboard
public Webhooks Webhooks(NylasClient client)

Functions

Link copied to clipboard

Create a webhook destination

Link copied to clipboard
public final WebhookDeleteResponse destroy(String webhookId)
public final WebhookDeleteResponse destroy(String webhookId, RequestOverrides overrides)

Delete a webhook destination

Link copied to clipboard

Extract the challenge parameter from a URL

Link copied to clipboard
public final Response<Webhook> find(String webhookId)
public final Response<Webhook> find(String webhookId, RequestOverrides overrides)

Return a webhook destination

Link copied to clipboard

Get the current list of IP addresses that Nylas sends webhooks from

Link copied to clipboard

List all webhook destinations for the application

Link copied to clipboard

Update the webhook secret value for a destination

Link copied to clipboard
public final Response<Webhook> update(String webhookId, UpdateWebhookRequest requestBody)
public final Response<Webhook> update(String webhookId, UpdateWebhookRequest requestBody, RequestOverrides overrides)

Update a webhook destination