Interface WebhookWithSecret

Class representing a Nylas webhook with secret.

Hierarchy

Properties

callbackUrl: string

The url to send webhooks to.

createdAt: number

The time the status field was created, represented as a Unix timestamp in seconds

description?: string

A human-readable description of the webhook destination.

id: string

Globally unique object identifier.

notificationEmailAddress?: string

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

status: "pause" | "failed" | "active" | "failing"

The status of the new destination.

statusUpdatedAt: number

The time the status field was last updated, represented as a Unix timestamp in seconds.

triggerTypes: WebhookTriggers[]

List of events that triggers the webhook.

updatedAt: number

The time the status field was last updated, represented as a Unix timestamp in seconds.

webhookSecret: string

A secret value used to encode the X-Nylas-Signature header on webhook requests.

Generated using TypeDoc